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
@@ -22,7 +22,7 @@ Deno.test("world generation makes the same chunks as recorded", async () => {
const raw = generate_raw_chunk(x, z, seed, world.block_ids, world.worldgen, world.default_values);
hashes[seed][`${x},${z}`] = {
raw: await raw_hash(raw, name),
final: await final_hash(world.generated_blocks(x, z), name),
final: await final_hash(world.generated_blocks(x, z).to_flat(), name),
};
}
}