(example)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_abm({
nodenames = {"somemod:somenode"},
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.env:remove_node(pos)
})
Will this abm be applied to future nodes of the "somenode"? Or does it affect only nodes currently placed?