类 PlayerItemHeldEvent

所有已实现的接口:
Cancellable

public class PlayerItemHeldEvent extends PlayerEvent implements Cancellable
作者:
MagicDroidX (Nukkit Project)
  • 构造器详细资料

    • PlayerItemHeldEvent

      public PlayerItemHeldEvent(Player player, Item item, int hotbarSlot)
  • 方法详细资料

    • getHandlers

      public static HandlerList getHandlers()
    • getSlot

      public int getSlot()
    • getInventorySlot

      @Deprecated public int getInventorySlot()
      已过时。
    • getItem

      public Item getItem()