VisualizeRegionItem

class VisualizeRegionItem(regionUuid: UUID, getRegion: () -> Region) : AbstractItem

An ui item for visualizing regions via VisualRegion.

Parameters

regionUuid

the UUID of the region to visualize

getRegion

a function to receive the Region

Constructors

Link copied to clipboard
constructor(regionUuid: UUID, getRegion: () -> Region)
constructor(player: Player, regionUUID: UUID, getRegion: () -> Region)

Functions

Link copied to clipboard
open fun addObserver(who: Observer, what: Int, how: Int)
Link copied to clipboard
open override fun getItemProvider(player: Player): ItemProvider
Link copied to clipboard
open fun handleBundleSelect(player: Player, bundleSlot: Int)
Link copied to clipboard
open override fun handleClick(clickType: ClickType, player: Player, click: Click)
Link copied to clipboard
open fun notifyWindows()
Link copied to clipboard
open fun removeObserver(who: Observer, what: Int, how: Int)