Here’s a single volume unit. This is perlin noise but it’s too small of an area to really see the pattern.
The code to generate the terrain. The ground() function gets the ground level. The blocks structure holds all the info about blocks, including texture atlases. Blocks are organized in the library by “domain” - e.g. default, colors, debug, which are collections of blocks along a common theme.
The idea is that you can mod the game by adding a folder full of domain information - blocks, entities, items, and scripts that change the behavior of the game world.













