/// Retrieves the chunk at the specified location.
/// If the chunk is not loaded, `None` will be returned.
Retrieves the chunk at the specified location.
If the chunk is not loaded, `None` will be returned.
Retrieves the chunk at the specified location . If the chunk is not loaded ` None ` will be returned .
pub fn chunk_at(&self, pos: ChunkPosition) -> Option<&Chunk> {
        if let Some(chunk) = self.chunk_map.get(&pos) {
            Some(chunk)
        } else {
            None
        }
    }
pub fn chunk_at ( & self , pos : ChunkPosition ) -> Option < & Chunk > { if let Some ( chunk ) = self . chunk_map . get ( & pos ) { Some ( chunk ) } else { None } }
Retrieves the chunk at the specified location.
Retrieves the chunk at the specified location .
&self
pos
ChunkPosition