We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a5585 commit 3c0d309Copy full SHA for 3c0d309
doc/lua_api.txt
@@ -4894,9 +4894,11 @@ Item handling
4894
given `param2` value.
4895
* Returns `nil` if the given `paramtype2` does not contain color
4896
information.
4897
-* `minetest.get_node_drops(nodename, toolname)`
4898
- * Returns list of item names.
4899
- * **Note**: This will be removed or modified in a future version.
+* `minetest.get_node_drops(node, toolname)`
+ * Returns list of itemstrings that are dropped by `node` when dug
+ with `toolname`.
4900
+ * `node`: node as table or node name
4901
+ * `toolname`: name of the tool item (can be `nil`)
4902
* `minetest.get_craft_result(input)`: returns `output, decremented_input`
4903
* `input.method` = `"normal"` or `"cooking"` or `"fuel"`
4904
* `input.width` = for example `3`
0 commit comments