Class PlayerCustomClickEvent

java.lang.Object
org.bukkit.event.Event
io.papermc.paper.event.player.PlayerCustomClickEvent

@Experimental @NonExtendable @NullMarked public abstract class PlayerCustomClickEvent extends Event
This event is fired for any custom click events.
See Also:
  • Constructor Details

  • Method Details

    • getIdentifier

      public final Key getIdentifier()
      The identifier of the custom click event.
      Returns:
      the identifier
    • getTag

      public abstract @Nullable BinaryTagHolder getTag()
      The tag payload of the custom click event.
      Returns:
      the tag (if any)
    • getDialogResponseView

      public abstract @Nullable DialogResponseView getDialogResponseView()
      The dialog response view of the custom click event.
      Returns:
      the dialog response view
    • getCommonConnection

      public final PlayerCommonConnection getCommonConnection()
      The common connection of the player.
      Returns:
      the common connection
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()