Add on_object_add callback
This commit is contained in:
@@ -763,6 +763,8 @@ Call these functions only at load time!
|
||||
* Called when recieving a spawn particle command from server
|
||||
* Newest functions are called first
|
||||
* If any function returns true, the particle does not spawn
|
||||
* `minetest.register_on_object_add(function(obj))`
|
||||
* Called every time an object is added
|
||||
* `minetest.register_on_object_properties_change(function(obj))`
|
||||
* Called every time the properties of an object are changed server-side
|
||||
* May modify the object's properties without the fear of infinite recursion
|
||||
|
Reference in New Issue
Block a user