Zone Box
data class ZoneBox(val id: Int, val firstPos: EffectiveBlockPos, val secondPos: EffectiveBlockPos, val worldUUID: UUID, val owner: UUID? = null)
One axis-aligned box belonging to a zone.
Constructors
Link copied to clipboard
constructor(id: Int, firstPos: EffectiveBlockPos, secondPos: EffectiveBlockPos, worldUUID: UUID, owner: UUID? = null)
Properties
Functions
Link copied to clipboard
All blocks within the box (inclusive). Iterates the whole volume — costly for large boxes.
Link copied to clipboard
Entities currently inside the box. Note: bounds here are exclusive (strictly between corners).
Link copied to clipboard
Deterministic UUID derived from the box id (used as the render handle).