3D biomes

This commit is contained in:
2026-11-07 12:13:43 -03:00
parent b726ce9695
commit 22191d260c
53 changed files with 874 additions and 316 deletions
+3 -3
View File
@@ -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