1 - When redefining a node it only works when using the ":" prefix. ie
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(":dirt", {redefinition})
2 - This redefinition can only be referenced through the item's alias!
Meaning that all of the modifications I included inside my_mod were valid, but could not be referenced in the code other than by calling the "dirt" alias. Calling "default:dirt" was calling unmodified dirt instances and trying to write ":dirt" inside a code block threw errors. The only way was to write "dirt", meaning the alias was being referenced.