diff options
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 10c624033..e253af30e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -8027,6 +8027,12 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and eat = <SimpleSoundSpec>, -- When item is eaten with `minetest.do_item_eat` + + punch_use = <SimpleSoundSpec>, + -- When item is used with the 'punch/mine' key pointing at a node or entity + + punch_use_air = <SimpleSoundSpec>, + -- When item is used with the 'punch/mine' key pointing at nothing (air) }, on_place = function(itemstack, placer, pointed_thing), |