Interface ClickEvent
- All Superinterfaces:
CancellableEvent
,ViewerEvent
- All Known Implementing Classes:
BukkitClickEvent
,MinestomClickEvent
The event when a player clicks on the UI
-
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
Get the slotboolean
Check if the buttons can be executedvoid
setButtonExecute
(boolean buttonExecute) Set if the buttons can be executedMethods inherited from interface me.hsgamer.hscore.minecraft.gui.event.CancellableEvent
isCancelled, setCancelled
Methods inherited from interface me.hsgamer.hscore.minecraft.gui.event.ViewerEvent
getViewerID
-
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
-