World sections

This commit is contained in:
2026-11-06 23:13:34 -03:00
parent 818ce22dd6
commit 1fa47c027d
21 changed files with 392 additions and 127 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ Deno.test("every column the overworld generates has a biome with grass, foliage
const block_ids: Record<string, number> = {};
blocks.forEach((b, nid) => block_ids[b.id] = nid);
for (const [x, z] of [[0, 0], [30, -12], [-80, 45]]) {
const { biomes } = generate_raw_chunk(x, z, game.world.seed, block_ids, game.world.worldgen);
const { biomes } = generate_raw_chunk(x, z, game.world.seed, block_ids, game.world.worldgen).column;
assertEquals(biomes.length, CHUNK_AREA);
for (const biome of biomes) {
const { colors } = get_biome(biome)!;