3D biomes
This commit is contained in:
@@ -79,10 +79,10 @@ export interface EntityLevel {
|
||||
// the fluid there and how high it is, for fluids pushing things along
|
||||
fluid_at(x: number, y: number, z: number): FluidInCell | undefined;
|
||||
get_block_info(x: number, y: number, z: number): BlockRegistry | undefined;
|
||||
// the column's biome, like "bworld:plains"
|
||||
biome_at(x: number, z: number): string;
|
||||
// the biome at a block, like "bworld:plains"
|
||||
biome_at(x: number, y: number, z: number): string;
|
||||
// that biome's season now, see biome_season in common/worldgen/biomes.ts
|
||||
season_at(x: number, z: number): Season;
|
||||
season_at(x: number, y: number, z: number): Season;
|
||||
add_entity(entity: Entity): void;
|
||||
get_entity(id: string): Entity | undefined;
|
||||
// entities whose feet are within the box around x, y, z
|
||||
|
||||
Reference in New Issue
Block a user