Expand description
The Minecraft world representation used in Azalea.
Re-exports§
pub use chunk_storage::Chunk;
pub use chunk_storage::ChunkStorage;
pub use chunk_storage::PartialChunkStorage;
pub use chunk_storage::Section;
Modules§
- Iterators for iterating over Minecraft blocks and chunks, based on prismarine-world’s iterators.
Structs§
- A compact list of integers with the given number of bits per entry.
- A world where the chunks are stored as weak pointers. This is used for shared worlds.
- A container of
Instance
s (aka worlds). Instances are stored as a Weak pointer here, so if no clients are using an instance it will be forgotten. - The name of the
Instance
(world) the entity is in. If two entities share the same world name, we assume they’re in the same instance. - An entity ID used by Minecraft. These are not guaranteed to be unique in shared worlds, that’s what
Entity
is for. - Keep track of certain metadatas that are only relevant for this partial world.
- PartialInstances are usually owned by clients, and hold strong references to chunks and entities in
Instance
s.