Trait fastanvil::Region[][src]

pub trait Region<C: Chunk>: Send + Sync {
    fn chunk(&self, x: CCoord, z: CCoord) -> Option<C>;
}

Required methods

Load the chunk at the given chunk coordinates, ie 0..32 for x and z. Implmentations do not need to be concerned with caching chunks they have loaded, this will be handled by the types using the region.

Implementors