Interface CloseEvent

All Superinterfaces:
ViewerEvent
All Known Implementing Classes:
BukkitCloseEvent, MinestomCloseEvent

public interface CloseEvent extends ViewerEvent
The event when a player closes the UI
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the display can be removed
    void
    setRemoveDisplay(boolean removeDisplay)
    Set whether the display can be removed

    Methods inherited from interface me.hsgamer.hscore.minecraft.gui.event.ViewerEvent

    getViewerID
  • Method Details

    • isRemoveDisplay

      boolean isRemoveDisplay()
      Check if the display can be removed
      Returns:
      true if the display can be removed
    • setRemoveDisplay

      void setRemoveDisplay(boolean removeDisplay)
      Set whether the display can be removed
      Parameters:
      removeDisplay - true if the display can be removed