类 EnchantingAction


  • 构造器详细资料

    • EnchantingAction

      @Since("1.3.1.0-PN") public EnchantingAction(Item source, Item target, int type)
  • 方法详细资料

    • isValid

      public boolean isValid(Player source)
      从类复制的说明: InventoryAction
      Returns whether this action is currently valid. This should perform any necessary sanity checks.
      指定者:
      isValid 在类中 InventoryAction
      参数:
      source - player
      返回:
      valid
    • getType

      @Since("1.3.1.0-PN") public int getType()
    • toString

      public String toString()
      覆盖:
      toString 在类中 InventoryAction