World shape for dimension

This commit is contained in:
2026-11-06 22:49:43 -03:00
parent 7458a2d42a
commit 818ce22dd6
60 changed files with 749 additions and 349 deletions
+6
View File
@@ -945,6 +945,12 @@ export class ModRuntime {
biome_at: (x, z) => game().world.biome_at(Math.floor(x), Math.floor(z)),
season_at: (x, z) =>
biome_season(game().world.biome_at(Math.floor(x), Math.floor(z)), game().world.time),
get min_y() {
return game().world.shape.min_y;
},
get max_y() {
return game().world.shape.max_y;
},
get seed() {
return game().world.seed;
},