diff options
author | Vincent Glize <vincentglize@hotmail.fr> | 2017-04-29 12:08:16 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-29 12:08:16 +0200 |
commit | dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340 (patch) | |
tree | 5b7be08157b8c377dfd10152c04d44687e9b1c81 /doc/client_lua_api.md | |
parent | ecf08255b0b6b9d15b86f614942ac8f53f41302a (diff) | |
download | minetest-dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340.tar.gz minetest-dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340.tar.bz2 minetest-dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340.zip |
[CSM] Add event on_place_node API lua (#5548)
* [CSM] Add event on_place_node API lua
Diffstat (limited to 'doc/client_lua_api.md')
-rw-r--r-- | doc/client_lua_api.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index 86fcd02a7..d435c4aae 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -667,6 +667,8 @@ Call these functions only at load time! * Called when the local player punches a node * Newest functions are called first * If any function returns true, the punch is ignored +* `minetest.register_on_placenode(function(pointed_thing, node))` + * Called when a node has been placed ### Sounds * `minetest.sound_play(spec, parameters)`: returns a handle * `spec` is a `SimpleSoundSpec` |