mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add staticdata parameter to add_entity (#5009)
* Add staticdata parameter to add_entity * Add add_entity_with_staticdata to core.features
This commit is contained in:
@@ -2173,7 +2173,7 @@ and `minetest.auth_reload` call the authetification handler.
|
||||
* `minetest.get_node_timer(pos)`
|
||||
* Get `NodeTimerRef`
|
||||
|
||||
* `minetest.add_entity(pos, name)`: Spawn Lua-defined entity at position
|
||||
* `minetest.add_entity(pos, name, [staticdata])`: Spawn Lua-defined entity at position
|
||||
* Returns `ObjectRef`, or `nil` if failed
|
||||
* `minetest.add_item(pos, item)`: Spawn item
|
||||
* Returns `ObjectRef`, or `nil` if failed
|
||||
|
Reference in New Issue
Block a user