minetest-mm/mods/flowerpot/api.md

7 lines
180 B
Markdown
Raw Normal View History

2020-10-26 17:38:53 +01:00
## flowerpot API
`flowerpot.register_node(name)`
* name = node name, e.g. "default:sapling"
* the node must be defined and registered first using `minetest.register_node()`.