类 ItemCustomArmor

所有已实现的接口:
BlockID, ItemDurable, ItemID, Cloneable

@PowerNukkitXOnly @Since("1.6.0.0-PNX") public abstract class ItemCustomArmor extends ItemCustom implements ItemDurable
作者:
lt_name
  • 字段详细资料

    • TIER_LEATHER

      public static final int TIER_LEATHER
      另请参阅:
    • TIER_IRON

      public static final int TIER_IRON
      另请参阅:
    • TIER_CHAIN

      public static final int TIER_CHAIN
      另请参阅:
    • TIER_GOLD

      public static final int TIER_GOLD
      另请参阅:
    • TIER_DIAMOND

      public static final int TIER_DIAMOND
      另请参阅:
    • TIER_NETHERITE

      public static final int TIER_NETHERITE
      另请参阅:
    • TIER_OTHER

      public static final int TIER_OTHER
      另请参阅:
  • 构造器详细资料

    • ItemCustomArmor

      public ItemCustomArmor(@Nonnull String id, @Nullable String name)
    • ItemCustomArmor

      public ItemCustomArmor(@Nonnull String id, @Nullable String name, @Nonnull String textureName)
  • 方法详细资料

    • getCreativeCategory

      public int getCreativeCategory()
      覆盖:
      getCreativeCategory 在类中 ItemCustom
    • getComponentsData

      public CompoundTag getComponentsData()
      覆盖:
      getComponentsData 在类中 ItemCustom
    • getMaxStackSize

      public int getMaxStackSize()
      覆盖:
      getMaxStackSize 在类中 Item
    • getMaxDurability

      public int getMaxDurability()
      覆盖:
      getMaxDurability 在类中 Item
    • isArmor

      public boolean isArmor()
      覆盖:
      isArmor 在类中 Item
    • isHelmet

      public boolean isHelmet()
      覆盖:
      isHelmet 在类中 Item
    • isChestplate

      public boolean isChestplate()
      覆盖:
      isChestplate 在类中 Item
    • isLeggings

      public boolean isLeggings()
      覆盖:
      isLeggings 在类中 Item
    • isBoots

      public boolean isBoots()
      覆盖:
      isBoots 在类中 Item
    • getArmorPoints

      public int getArmorPoints()
      覆盖:
      getArmorPoints 在类中 Item
    • onClickAir

      public boolean onClickAir(Player player, Vector3 directionVector)
      从类复制的说明: Item
      Called when a player uses the item on air, for example throwing a projectile. Returns whether the item was changed, for example count decrease or durability change.
      覆盖:
      onClickAir 在类中 Item
      参数:
      player - player
      directionVector - direction
      返回:
      item changed
    • getEnchantAbility

      public int getEnchantAbility()
      覆盖:
      getEnchantAbility 在类中 Item
    • isUnbreakable

      public boolean isUnbreakable()
      覆盖:
      isUnbreakable 在类中 Item