Expand description
Defines chunk layers and entity layers. Chunk layers contain the chunks and dimension data of a world, while entity layers contain all the Minecraft entities.
These two together are analogous to Minecraft “levels” or “worlds”.
Re-exports§
pub use chunk::ChunkLayer;
pub use entity::EntityLayer;
Modules§
Structs§
- Layer
Bundle - Convenience [
Bundle
] for spawning a layer entity with bothChunkLayer
andEntityLayer
components. - Layer
Plugin - Update
Layers Post Client Set - When layers are cleared and messages from this tick are lost. Systems that read layer messages should run before this.
- Update
Layers PreClient Set - When entity and chunk changes are written to layers. Systems that modify chunks and entities should run before this. Systems that need to read layer messages should run after this.
Traits§
- Layer
- Common functionality for layers. Notable implementors are
ChunkLayer
andEntityLayer
.