diff options
Diffstat (limited to 'azalea-world/src')
| -rw-r--r-- | azalea-world/src/chunk_storage.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs index 2efd002d..d38c5ef9 100644 --- a/azalea-world/src/chunk_storage.rs +++ b/azalea-world/src/chunk_storage.rs @@ -404,6 +404,7 @@ impl Chunk { } } + /// Get the biome at the given position, or `None` if it's out of bounds. pub fn get_biome(&self, pos: ChunkBiomePos, min_y: i32) -> Option<Biome> { if pos.y < min_y { // y position is out of bounds |
