World shape for dimension
This commit is contained in:
@@ -360,6 +360,12 @@ function client_context(listing: ModListing): ClientContext {
|
||||
structuredClone(need_client().level.get_block_data(x, y, z)?.[field]) as never,
|
||||
biome_at: (x, z) => rules_world.biome_at(x, z),
|
||||
season_at: (x, z) => rules_world.season_at(x, z),
|
||||
get min_y() {
|
||||
return need_client().level.shape.min_y;
|
||||
},
|
||||
get max_y() {
|
||||
return need_client().level.shape.max_y;
|
||||
},
|
||||
get time() {
|
||||
return need_client().level.time;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user