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
  • 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 interface ClickEvent
      Returns:
      the slot