local modname = minetest.get_current_modname() blockgame.crafting.register_pummel_recipe({ label = "pummel logs into funnel", used_item = "woodworking:plank", target_node = "bg_tree:log", check = function (pos, used_node, target_node) local below = pos + blockgame.vector.dirs.down return minetest.get_node(below).name == "bg_tree:log" end, on_success = function (pos, used_node, target_node) local below = pos + blockgame.vector.dirs.down minetest.remove_node(pos) minetest.set_node(below, {name = modname .. ":funnel"}) end, })