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
  • 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 interface CloseEvent
      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 interface CloseEvent
      Parameters:
      removeDisplay - true if the display can be removed