StrataUiPresentationChangedEvent

class StrataUiPresentationChangedEvent(val player: Player, val ownerPlugin: Plugin, val identity: Long, val session: UiSession, val previous: UiPresentation, val presentation: UiPresentation, val category: UiCategory?) : Event(source)

The client acknowledged a different presentation for the same retained UI. Delivered synchronously on Paper's primary thread or the player's Folia region. Notification only; it is not cancellable.

Constructors

Link copied to clipboard
constructor(player: Player, ownerPlugin: Plugin, identity: Long, session: UiSession, previous: UiPresentation, presentation: UiPresentation, category: UiCategory?)

Types

Link copied to clipboard
object Companion

Bukkit listener registration for this exact event type.

Properties

Link copied to clipboard
Link copied to clipboard
@get:NotNull
open val eventName: @NotNull String
Link copied to clipboard
open override val handlers: HandlerList
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ownerPlugin: Plugin
Link copied to clipboard
val player: Player
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open override fun getHandlers(): HandlerList