Package-level declarations
Properties
Functions
Link copied to clipboard
inline fun LevelChunkSection.forEachBlock(action: (localX: Int, localY: Int, localZ: Int, BlockState) -> Unit)
Iterates all 4096 block states in a section and provides local section coordinates (0..15).
Link copied to clipboard
inline fun LevelChunk.forEachSectionBlock(sectionIndex: Int, mutable: BlockPos.MutableBlockPos = BlockPos.MutableBlockPos(), action: (BlockPos, BlockState) -> Unit)
Iterates all blocks in a specific section index and exposes world-space block positions.
Link copied to clipboard
Converts a section index to the section base world Y (multiple of 16).