Rework biome generation according to tectonic

This commit is contained in:
2026-10-02 18:32:35 -03:00
parent 9f637e6afb
commit 043c526c9c
12 changed files with 514 additions and 285 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ Deno.test("trees grow on the ground, never closer than 4 blocks, even across chu
let spilled_leaves = 0;
for (let cx = -6; cx < 6; cx++) {
for (let cz = -6; cz < 6; cz++) {
const { blocks, spills } = generate_raw_chunk(cx, cz, "trees-test", ids);
const { blocks, spills } = generate_raw_chunk(cx, cz, game.world.seed, ids);
blocks.forEach((block, i) => {
if (logs.has(block) && ground.has(blocks[i - CHUNK_AREA])) {
const x = cx * 16 + (i % 16);