Package io.papermc.paper.event.player
Class PlayerCustomClickEvent
java.lang.Object
org.bukkit.event.Event
io.papermc.paper.event.player.PlayerCustomClickEvent
This event is fired for any custom click events.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PlayerCustomClickEvent
(Key identifier, PlayerCommonConnection commonConnection) -
Method Summary
Modifier and TypeMethodDescriptionfinal PlayerCommonConnection
The common connection of the player.abstract @Nullable DialogResponseView
The dialog response view of the custom click event.static HandlerList
final Key
The identifier of the custom click event.abstract @Nullable BinaryTagHolder
getTag()
The tag payload of the custom click event.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerCustomClickEvent
-
-
Method Details
-
getIdentifier
The identifier of the custom click event.- Returns:
- the identifier
-
getTag
The tag payload of the custom click event.- Returns:
- the tag (if any)
-
getDialogResponseView
The dialog response view of the custom click event.- Returns:
- the dialog response view
-
getCommonConnection
The common connection of the player.- Returns:
- the common connection
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-