We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d41ed0 commit 3ed940fCopy full SHA for 3ed940f
doc/lua_api.txt
@@ -7612,6 +7612,13 @@ Used by `minetest.register_node`.
7612
-- intensity: 1.0 = mid range of regular TNT.
7613
-- If defined, called when an explosion touches the node, instead of
7614
-- removing the node.
7615
+
7616
+ mod_origin = "modname",
7617
+ -- stores which mod actually registered a node
7618
+ -- if it can not find a source, returns "??"
7619
+ -- useful for getting what mod truly registered something
7620
+ -- example: if a node is registered as ":othermodname:nodename",
7621
+ -- nodename will show "othermodname", but mod_orgin will say "modname"
7622
}
7623
7624
Crafting recipes
0 commit comments