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”.
Modules§
Structs§
- Chunk
Layer - A
Component
containing the chunks and dimension information of a Minecraft world. - Entity
Layer - A
Component
containing Minecraft entities. - 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
.