Interface CloseEvent
- All Superinterfaces:
ViewerEvent
- All Known Implementing Classes:
BukkitCloseEvent
,MinestomCloseEvent
The event when a player closes the UI
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the display can be removedvoid
setRemoveDisplay
(boolean removeDisplay) Set whether the display can be removedMethods 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
-