mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
replace biomes.json with biomes.toml & make it combined object
This commit is contained in:
parent
e7d7753d47
commit
7c56d8fd7f
12 changed files with 130 additions and 95 deletions
|
|
@ -251,6 +251,7 @@ void WorldGenerator::generateStructures(
|
|||
util::PseudoRandom structsRand;
|
||||
structsRand.setSeed(chunkX, chunkZ);
|
||||
|
||||
// Place structures defined in biome
|
||||
auto heights = heightmap->getValues();
|
||||
for (uint z = 0; z < CHUNK_D; z++) {
|
||||
for (uint x = 0; x < CHUNK_W; x++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue