Skip to main content

Module level_reader

Module level_reader 

Source
Expand description

Read-only world view shared by live worlds and world-generation regions.

This mirrors vanilla’s LevelReader role: block behavior such as canSurvive should depend on the world-reading surface, not on the concrete World type. World and WorldGenRegion both implement this trait.

Constants§

VANILLA_HORIZONTAL_LIMIT 🔒

Traits§

LevelAccessor
Mutable level access needed by vanilla LevelAccessor block hooks.
LevelReader
Read-only level access needed by block behavior and worldgen predicates.
ScheduledTickAccess
Level access needed by vanilla block updateShape logic.