From 525fc3833c40dcca478719533a87bc7b5e285e4e Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 11 Sep 2022 21:16:17 +0200 Subject: Implement tool use sounds --- doc/lua_api.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') 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 = , -- When item is eaten with `minetest.do_item_eat` + + punch_use = , + -- When item is used with the 'punch/mine' key pointing at a node or entity + + punch_use_air = , + -- When item is used with the 'punch/mine' key pointing at nothing (air) }, on_place = function(itemstack, placer, pointed_thing), -- cgit v1.2.3