Class MinestomCloseEvent
java.lang.Object
me.hsgamer.hscore.minestom.gui.event.MinestomEvent<net.minestom.server.event.inventory.InventoryCloseEvent>
me.hsgamer.hscore.minestom.gui.event.MinestomCloseEvent
- All Implemented Interfaces:
CloseEvent
,ViewerEvent
,MinestomViewerEvent
public class MinestomCloseEvent
extends MinestomEvent<net.minestom.server.event.inventory.InventoryCloseEvent>
implements CloseEvent, MinestomViewerEvent
The close event for Minestom
-
Field Summary
Fields inherited from class me.hsgamer.hscore.minestom.gui.event.MinestomEvent
event
-
Constructor Summary
ConstructorDescriptionMinestomCloseEvent
(net.minestom.server.event.inventory.InventoryCloseEvent event) Create a new event -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the display can be removedvoid
setRemoveDisplay
(boolean removeDisplay) Set whether the display can be removedMethods 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.MinestomViewerEvent
getEvent, getViewerID
-
Constructor Details
-
MinestomCloseEvent
public MinestomCloseEvent(net.minestom.server.event.inventory.InventoryCloseEvent event) Create a new event- Parameters:
event
- the Minestom event
-
-
Method Details
-
isRemoveDisplay
public boolean isRemoveDisplay()Description copied from interface:CloseEvent
Check if the display can be removed- Specified by:
isRemoveDisplay
in interfaceCloseEvent
- Returns:
- true if the display can be removed
-
setRemoveDisplay
public void setRemoveDisplay(boolean removeDisplay) Description copied from interface:CloseEvent
Set whether the display can be removed- Specified by:
setRemoveDisplay
in interfaceCloseEvent
- Parameters:
removeDisplay
- true if the display can be removed
-