Interface ClickEvent

All Superinterfaces:
CancellableEvent, ViewerEvent
All Known Implementing Classes:
BukkitClickEvent, MinestomClickEvent

public interface ClickEvent extends ViewerEvent, CancellableEvent
The event when a player clicks on the UI
  • Method Details

    • getSlot

      int getSlot()
      Get the slot
      Returns:
      the slot
    • isButtonExecute

      boolean isButtonExecute()
      Check if the buttons can be executed
      Returns:
      true if the buttons can be executed
    • setButtonExecute

      void setButtonExecute(boolean buttonExecute)
      Set if the buttons can be executed
      Parameters:
      buttonExecute - true if the buttons can be executed