3D biomes
This commit is contained in:
@@ -198,9 +198,10 @@ export interface SharedWorld {
|
||||
// whether the block's side is a full square things can attach to, like minecraft's isFaceSturdy: its collision
|
||||
// shape covers the whole face. false for air, plants, water and the sides of a slab
|
||||
is_face_sturdy(x: number, y: number, z: number, face: Face): boolean;
|
||||
// the column's biome, like "bworld:plains", and that biome's season. undefined when the chunk isn't loaded
|
||||
biome_at(x: number, z: number): Id | undefined;
|
||||
season_at(x: number, z: number): Season | undefined;
|
||||
// the biome at a block, like "bworld:plains", and that biome's season, like neoforge's level.getBiome(pos). one per
|
||||
// block across and every 4 blocks up, see docs/modding/worldgen/biomes.md. undefined when the chunk isn't loaded
|
||||
biome_at(x: number, y: number, z: number): Id | undefined;
|
||||
season_at(x: number, y: number, z: number): Season | undefined;
|
||||
}
|
||||
|
||||
// a block in the world, for rules
|
||||
|
||||
Reference in New Issue
Block a user