3D biomes
This commit is contained in:
@@ -202,7 +202,7 @@ ctx.player.is_swimming(); // see ../entities/players.md#swimming
|
||||
ctx.player.biome; // and ctx.player.season, see ../worldgen/biomes.md#seasons
|
||||
ctx.world.get_block(x, y, z); // a block id, what this client sees
|
||||
ctx.world.get_client_data<number>(x, y, z, "speed"); // see ../blocks/tiledata.md#client-data, a copy
|
||||
ctx.world.biome_at(x, z); // and ctx.world.season_at(x, z), undefined where nothing's loaded
|
||||
ctx.world.biome_at(x, y, z); // and ctx.world.season_at(x, y, z), undefined where nothing's loaded
|
||||
ctx.world.time; // see Time
|
||||
ctx.world.min_y; // and ctx.world.max_y, see ../worldgen/terrain.md#height
|
||||
ctx.items.ids(); // every item, in load order
|
||||
|
||||
Reference in New Issue
Block a user