Enum Class ArmorMaterials

java.lang.Object
java.lang.Enum<ArmorMaterials>
pers.saikel0rado1iu.spontaneousreplace.cobwebbed.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
  • 枚举常量详细资料

    • SPIDER_LEATHER

      public static final ArmorMaterials SPIDER_LEATHER
      蜘蛛护皮装备
      一种可以藏匿自己于蜘蛛中的蜘蛛装备
  • 方法详细资料

    • 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 - 如果参数为空值
    • spiderLeatherProperty

      public static pers.saikel0rado1iu.silk.api.ropestick.property.ItemProperty[] spiderLeatherProperty()
      蜘蛛护皮装备属性
      返回:
      物品属性数组
    • 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