External Publication
Visit Post

Game Discussion • Re: How does worldgen work?

Luanti Forums - Index page [Unofficial] May 6, 2026
Source

Hello, I'm making my own game but it seems that despite there being no code in my game theres a few map generators already defined?

Obviously they dont work since all the nodes they use arent defined but why are they even showing up? Shouldn't mapgens be defined per game (or mod)?

Since it appears these mapgens are defined from outside the games, where are they defined and how can i restrict them so only my own mapgens are used for my game?

Thanks in advance!

-Cotoffer200

If you know Minecraft's worldgen, you can easily understand how Luanti does worldgen: It uses the Seed (A number) to procedurally generate various values for noise, biomes and structure locations, among other things according to the mods you installed. Then the generator checks the flags you selected and generates those accordingly depending on the Seed & installed mods. From there decorations like ore viens will be added and then the game chooses a point where you spawn, once that's completed it places you in the generated world and you can see what the game generated. Some Luanti games like MineClonia can override the worldgen and thus might generate differently from Luanti.

Statistics: Posted by ArceusI — Wed May 06, 2026 19:48


Discussion in the ATmosphere

Loading comments...