Client side chunk sections

This commit is contained in:
2026-11-07 10:39:16 -03:00
parent 8e14e9842a
commit 71cbf901a5
19 changed files with 162 additions and 116 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ Deno.test("the server's light is the same as what clients work out", async () =>
const chunks = [];
for (let dz = -1; dz <= 1; dz++) {
for (let dx = -1; dx <= 1; dx++) {
chunks.push(decode_level_chunk(world.level_chunk(CHUNK + dx, CHUNK + dz)).blocks);
chunks.push(decode_level_chunk(world.level_chunk(CHUNK + dx, CHUNK + dz)).sections);
}
}
region.fill(chunks);