From dc5bc6cac7b81ab27e0064bc25b5fd1d8d617340 Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Sat, 29 Apr 2017 12:08:16 +0200 Subject: [CSM] Add event on_place_node API lua (#5548) * [CSM] Add event on_place_node API lua --- doc/client_lua_api.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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` -- cgit v1.2.3