World shape for dimension
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user