Companion
object Companion
Properties
Link copied to clipboard
Read-only registry of all constructed zones, keyed by getNamespacedName.
Functions
Link copied to clipboard
Deletes the box with id (from memory and persistent data). Returns false if not found.
Link copied to clipboard
Total number of boxes across all registered zones.
Link copied to clipboard
Finds a box by its global id across all zones, or null.
Link copied to clipboard
All boxes created by ownerUUID, paired with their zone's namespaced key.
Link copied to clipboard
Registered zone for a namespaced name, or null if none.
Link copied to clipboard
fun registerSelection(selection: Triple<EffectiveBlockPos, EffectiveBlockPos, UUID>, namespacedKey: String, ownerUUID: UUID? = null): EffectiveZone.ZoneBox
Adds a new box to the zone namespacedKey from a corner/corner/world selection, persists it, starts rendering it and fires EffectiveZoneRegisteredEvent.
Link copied to clipboard