Class MinestomClickEvent
java.lang.Object
me.hsgamer.hscore.minestom.gui.event.MinestomEvent<net.minestom.server.event.inventory.InventoryPreClickEvent>
me.hsgamer.hscore.minestom.gui.event.MinestomClickEvent
- All Implemented Interfaces:
CancellableEvent
,ClickEvent
,ViewerEvent
,MinestomCancellableEvent
,MinestomViewerEvent
public class MinestomClickEvent
extends MinestomEvent<net.minestom.server.event.inventory.InventoryPreClickEvent>
implements ClickEvent, MinestomCancellableEvent, MinestomViewerEvent
The click event for Minestom
-
Field Summary
Fields inherited from class me.hsgamer.hscore.minestom.gui.event.MinestomEvent
event
-
Constructor Summary
ConstructorsConstructorDescriptionMinestomClickEvent
(net.minestom.server.event.inventory.InventoryPreClickEvent event) Create a new event -
Method Summary
Methods inherited from class me.hsgamer.hscore.minestom.gui.event.MinestomEvent
getEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.minestom.gui.event.MinestomCancellableEvent
getEvent, isCancelled, setCancelled
Methods inherited from interface me.hsgamer.hscore.minestom.gui.event.MinestomViewerEvent
getEvent, getViewerID
-
Constructor Details
-
MinestomClickEvent
public MinestomClickEvent(net.minestom.server.event.inventory.InventoryPreClickEvent event) Create a new event- Parameters:
event
- the Minestom event
-
-
Method Details
-
getSlot
public int getSlot()Description copied from interface:ClickEvent
Get the slot- Specified by:
getSlot
in interfaceClickEvent
- Returns:
- the slot
-