Is it possible to remove a node/item? For example, I'm making a food mod that has bananas, but PilzAdam's farming_plus mod has them too. The only thing I could do was to redefine his bananas:
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_node(":farming_plus:banana", {
description = "banana",
groups = {not_in_creative_inventory=1}
})
And after that, I tried minetest.register_alias, but all I got with "/giveme farming_plus:banana" in Minetest was an unknown node. In my code, I registered the alias after redefining Adam's bananas:
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_node(":farming_plus:banana", {
description = "banana",
groups = {not_in_creative_inventory=1}
})
minetest.register_alias("farming_plus:banana", "fruits:banana")