Skip to main content

Module chunk

Module chunk 

Source
Expand description

This module contains all the chunk related structures and logic.

ModulesΒ§

block_entity_listener πŸ”’
Chunk-owned game-event listener bindings for block entities.
chunk_generation_task
ChunkGenerationTask handles the generation process for chunks.
chunk_holder
ChunkHolder manages chunk state and asynchronous generation tasks.
chunk_map
The chunk map manages chunk loading, generation, and lifecycle.
chunk_pyramid
This module contains the ChunkPyramid, which is used to check chunk dependencies. All structures are const-compatible and computed at compile time.
chunk_request
Ticket-owned chunk availability requests.
chunk_scheduler πŸ”’
Coordinates authoritative ticket storage and chunk-level propagation.
chunk_status_tasks
chunk_ticket πŸ”’
A typed chunk ticket matching Vanilla’s Ticket value.
chunk_ticket_manager
Tracks chunk levels based on ticket propagation. Chunk ticket management for tracking load levels and propagation.
chunk_ticket_storage πŸ”’
Authoritative chunk ticket source storage.
chunk_tracker πŸ”’
Incremental eight-neighbor ticket propagation shared by loading and simulation.
data πŸ”’
Chunk data retained from generation through Full runtime use.
full_chunk
Full-chunk behavior over the common owning Chunk.
full_chunk_readiness πŸ”’
Tracks Full-neighborhood readiness for ticking chunk lifecycles. Incremental Full-neighborhood tracking for chunk ticking readiness.
gameplay_chunk_lookup_cache πŸ”’
Scoped holder cache for synchronous gameplay chunk lookups.
heightmap
Heightmap implementation for tracking the highest blocks in a chunk.
light
Light storage primitives used by chunk and world lighting.
paletted_container
A paletted container is a container that can be either homogeneous or heterogeneous.
player_chunk_view
Tracks the chunks that are visible to a player.
player_ticket_tracker πŸ”’
Vanilla-style player ownership for loading and simulation tickets.
section
This module contains the Sections and ChunkSection structs.
simulation_ticket_manager πŸ”’
Simulation propagation stops at the block-ticking boundary.
status
Chunk generation status.

StructsΒ§

Chunk
Canonical chunk storage retained across generation and Full runtime phases.