Trait fastanvil::Region[][src]

pub trait Region {
    fn chunk(&self, x: CCoord, z: CCoord) -> Option<Box<dyn Chunk>>;
}

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