Class BukkitInventoryEvent<T extends org.bukkit.event.inventory.InventoryEvent>

java.lang.Object
me.hsgamer.hscore.bukkit.gui.event.BukkitInventoryEvent<T>
Type Parameters:
T - the type of the Bukkit event
All Implemented Interfaces:
ViewerEvent
Direct Known Subclasses:
BukkitClickEvent, BukkitCloseEvent, BukkitDragEvent, BukkitOpenEvent

public class BukkitInventoryEvent<T extends org.bukkit.event.inventory.InventoryEvent> extends Object implements ViewerEvent
The Bukkit inventory event
  • Field Details

    • event

      protected final T extends org.bukkit.event.inventory.InventoryEvent event
      The Bukkit event
  • Constructor Details

    • BukkitInventoryEvent

      public BukkitInventoryEvent(T event)
      Create a new event
      Parameters:
      event - the Bukkit event
  • Method Details

    • getEvent

      public T getEvent()
      Get the Bukkit event
      Returns:
      the Bukkit event
    • getViewerID

      @NotNull public @NotNull UUID getViewerID()
      Description copied from interface: ViewerEvent
      Get the viewer
      Specified by:
      getViewerID in interface ViewerEvent
      Returns:
      the viewer