Expand description
ChunkHolder manages chunk state and asynchronous generation tasks.
StructsΒ§
- Changed
Light πSection Sets - Changed
Light Sections - Pending light sections to send to players tracking a chunk.
- Chunk
Holder - Holds chunk data and coordinates asynchronous generation work.
- Chunk
Save πDependency - Chunk
Save πPreparation Guard - Reservation of a holderβs save-preparation phase.
- Status
Work πClaim - Ticking
Readiness πSnapshot - Exact ticking-readiness generation captured by concurrent consumers.
EnumsΒ§
- Post
Process πGeneration Error - Ticking
Readiness π
ConstantsΒ§
- NO_
TICKET_ πLEVEL - SAVE_
LIFECYCLE_ πACTIVE - SAVE_
LIFECYCLE_ πPREPARING - SAVE_
LIFECYCLE_ πUNLOADING - STATUS_
NONE π - UNPUBLISHED_
STATUS π
StaticsΒ§
- SLOW_
CHUNK_ GEN - When
true, each chunk generation stage sleeps 200 ms after completing. Set by the spawn progress display to make the terminal grid visible.
FunctionsΒ§
- decoded_
published_ πstatus - encoded_
published_ πstatus - optional_
ticket_ πlevel_ from_ raw - optional_
ticket_ πlevel_ raw - rayon_
spawn π