octacian wrote:Well, with this in mind, I must say that this does not mean the nodes are registered in the engine. Air is registered in MTG, found it a while ago, it's called "You hacker you." Cloud is also registered as default:cloud. So I don't think any nodes are actually registered in the core, but just mapgen. The mapgen requires specific things so could cause this. I personally think that something should be done about this. But the problem is found in mapgen, it's not that nodes are being registered in core.
What I mean is, that some nodes are coded to the engine, the C++ part. And the mapgen is part of the engine
So if you make a game you have to register some aliases for stone, water, riverwater and so on, even if they are not used in your game or even if the mapgen doesn't use them.
I talk about aliases like this
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_alias("mapgen_stone", "default:stone")
If I remove them I get a node resolver error. I ran into this issue while tinker around with the minimal development test game. It's missing an alias for river_water_source and I always got an error, even if I used mg v7