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
@@ -41,7 +41,7 @@ export function raw_hash(raw: RawChunk, name: (value: number) => string): Promis
for (let i = 0; i < raw.spills.length; i += 4) {
spills.push(raw.spills[i], raw.spills[i + 1], raw.spills[i + 2], name(raw.spills[i + 3]));
}
return hash(blocks_text(raw.blocks, name), JSON.stringify(spills), raw.biomes.join(","));
return hash(blocks_text(raw.column.to_flat(), name), JSON.stringify(spills), raw.column.biomes.join(","));
}
// what the fixture's "final" is: the chunk with its neighbors' spills