Class InventoryCloseEvent


public class InventoryCloseEvent extends InventoryEvent
Represents a player related inventory event
  • Constructor Details Link icon

    • InventoryCloseEvent Link icon

      public InventoryCloseEvent(@NotNull InventoryView transaction)
  • Method Details Link icon

    • getPlayer Link icon

      @NotNull public final HumanEntity getPlayer()
      Returns the player involved in this event
      Returns:
      Player who is involved in this event
    • getHandlers Link icon

      @NotNull public HandlerList getHandlers()
      Overrides:
      getHandlers in class InventoryEvent
    • getHandlerList Link icon

      @NotNull public static HandlerList getHandlerList()