Enum Class ArmorMaterials

java.lang.Object
java.lang.Enum<ArmorMaterials>
pers.saikel0rado1iu.spontaneousreplace.item.ArmorMaterials
所有已实现的接口:
Serializable, Comparable<ArmorMaterials>, Constable, net.minecraft.item.ArmorMaterial, pers.saikel0rado1iu.silk.api.ropestick.armor.Armor

public enum ArmorMaterials extends Enum<ArmorMaterials> implements pers.saikel0rado1iu.silk.api.ropestick.armor.Armor

盔甲材料类

自然更替的盔甲工具材料
从以下版本开始:
1.0.0
  • 嵌套类概要

    从类继承的嵌套类/接口 java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • 枚举常量概要

    枚举常量
    枚举常量
    说明
    防箭装备
    一种特殊的投掷物防御装备
    金铜盔甲
    基础属性只比金制盔甲略高,但是拥有极致的附魔等级,附魔等级甚至比金高 5 点
    铜铁盔甲
    基础属性只比铁制盔甲略高,但是拥有精铜的盔甲韧性和附魔等级
    精铜盔甲
    基础属性在锁链盔甲与铁制盔甲之间,但耐久小于二者,但是拥有少量的盔甲韧性和只比金属性低地附魔等级
    钢制盔甲
    基础属性只比钻石盔甲略低,但是拥有下届合金的附魔等级和少量的击退抗性
  • 字段概要

    从接口继承的字段 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor

    DURABILITY_BASE, KR_RATIO
  • 方法概要

    修饰符和类型
    方法
    说明
    int
    获取耐久度
    int
     
    net.minecraft.sound.SoundEvent
     
    net.minecraft.util.Identifier
    获取盔甲 ID
    float
    获取击退抗性
    int[]
    获取护甲值
    net.minecraft.recipe.Ingredient
     
    float
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    从类继承的方法 java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor

    createBoots, createChestplate, createHelmet, createLeggings, getDurability, getKnockbackResistance, getName, getProtection
  • 枚举常量详细资料

    • REFINED_COPPER

      public static final ArmorMaterials REFINED_COPPER
      精铜盔甲
      基础属性在锁链盔甲与铁制盔甲之间,但耐久小于二者,但是拥有少量的盔甲韧性和只比金属性低地附魔等级
    • CUFE

      public static final ArmorMaterials CUFE
      铜铁盔甲
      基础属性只比铁制盔甲略高,但是拥有精铜的盔甲韧性和附魔等级
    • AUCU

      public static final ArmorMaterials AUCU
      金铜盔甲
      基础属性只比金制盔甲略高,但是拥有极致的附魔等级,附魔等级甚至比金高 5 点
    • STEEL

      public static final ArmorMaterials STEEL
      钢制盔甲
      基础属性只比钻石盔甲略低,但是拥有下届合金的附魔等级和少量的击退抗性
    • ARROWPROOF

      public static final ArmorMaterials ARROWPROOF
      防箭装备
      一种特殊的投掷物防御装备
  • 方法详细资料

    • values

      public static ArmorMaterials[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ArmorMaterials valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • getId

      public net.minecraft.util.Identifier getId()
      获取盔甲 ID
      指定者:
      getId 在接口中 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
      返回:
      盔甲 ID
    • getDurability

      public int getDurability()
      获取耐久度
      指定者:
      getDurability 在接口中 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
      返回:
      耐久度
    • getProtections

      public int[] getProtections()
      获取护甲值
      指定者:
      getProtections 在接口中 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
      返回:
      护甲值
    • getKnockBackResistance

      public float getKnockBackResistance()
      获取击退抗性
      指定者:
      getKnockBackResistance 在接口中 pers.saikel0rado1iu.silk.api.ropestick.armor.Armor
      返回:
      击退抗性
    • getEnchantability

      public int getEnchantability()
      指定者:
      getEnchantability 在接口中 net.minecraft.item.ArmorMaterial
    • getEquipSound

      public net.minecraft.sound.SoundEvent getEquipSound()
      指定者:
      getEquipSound 在接口中 net.minecraft.item.ArmorMaterial
    • getRepairIngredient

      public net.minecraft.recipe.Ingredient getRepairIngredient()
      指定者:
      getRepairIngredient 在接口中 net.minecraft.item.ArmorMaterial
    • getToughness

      public float getToughness()
      指定者:
      getToughness 在接口中 net.minecraft.item.ArmorMaterial