diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-05-10 16:51:54 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-05-10 16:51:54 +0200 |
commit | 26cfbda653db1b843dbe2e78b0bb642f17cd5d8d (patch) | |
tree | fe577262e1a2cd45608e480c275f60e84cad146e /doc/client_lua_api.txt | |
parent | 6dc7a65d9e23a8bd20f729e041e84615b2313deb (diff) | |
download | dragonfireclient-26cfbda653db1b843dbe2e78b0bb642f17cd5d8d.tar.xz |
Add on_object_properties_change callback
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r-- | doc/client_lua_api.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 8b955db31..2728ed632 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -762,7 +762,10 @@ Call these functions only at load time! * `minetest.register_on_spawn_partice(function(particle definition))` * Called when recieving a spawn particle command from server * Newest functions are called first - * If any function returns true, the particel does not spawn + * If any function returns true, the particle does not spawn +* `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 ### Setting-related * `minetest.settings`: Settings object containing all of the settings from the |