类 InventoryCloseEvent


public class InventoryCloseEvent extends InventoryEvent
当玩家关闭背包时触发本事件
  • 构造器详细资料

    • InventoryCloseEvent

      public InventoryCloseEvent(InventoryView transaction)
  • 方法详细资料

    • getPlayer

      public final HumanEntity getPlayer()
      获取涉及此事件的玩家

      原文:Returns the player involved in this event

      返回:
      涉及此事件的玩家
    • getHandlers

      public HandlerList getHandlers()
      覆盖:
      getHandlers 在类中 InventoryEvent
    • getHandlerList

      public static HandlerList getHandlerList()