Rework biome generation according to tectonic
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user