VisualizeRegionItem

class VisualizeRegionItem(player: Player, regionUUID: UUID, getRegion: () -> Region) : AbstractItem

An ui item for visualizing regions via VisualRegion.

Parameters

player

the player to visualize the region for

regionUUID

the UUID of the region to visualize

getRegion

a function to receive the Region

Constructors

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

Functions

Link copied to clipboard
@ApiStatus.Internal
open fun addViewer(p0: AbstractWindow, p1: Int)
Link copied to clipboard
open override fun getItemProvider(player: Player): ItemProvider
Link copied to clipboard
open override fun handleClick(clickType: ClickType, player: Player, click: Click)
Link copied to clipboard
open override fun notifyWindows()
Link copied to clipboard
@ApiStatus.Internal
open fun removeViewer(p0: AbstractWindow, p1: Int)