Enum Class ArmorItem.Material

java.lang.Object
java.lang.Enum<ArmorItem.Material>
net.minecraft.item.ArmorItem.Material
All Implemented Interfaces:
Serializable, Comparable<ArmorItem.Material>, Constable
Enclosing class:
ArmorItem

public static enum ArmorItem.Material extends Enum<ArmorItem.Material>
Mappings:
Namespace Name
official adp$a
intermediary net/minecraft/class_1028$class_1029
named net/minecraft/item/ArmorItem$Material
  • Enum Constant Details

    • LEATHER

      public static final ArmorItem.Material LEATHER
      Mappings:
      Namespace Name Mixin selector
      official a Ladp$a;a:Ladp$a;
      intermediary field_12154 Lnet/minecraft/class_1028$class_1029;field_12154:Lnet/minecraft/class_1028$class_1029;
      named LEATHER Lnet/minecraft/item/ArmorItem$Material;LEATHER:Lnet/minecraft/item/ArmorItem$Material;
    • CHAIN

      public static final ArmorItem.Material CHAIN
      Mappings:
      Namespace Name Mixin selector
      official b Ladp$a;b:Ladp$a;
      intermediary field_4162 Lnet/minecraft/class_1028$class_1029;field_4162:Lnet/minecraft/class_1028$class_1029;
      named CHAIN Lnet/minecraft/item/ArmorItem$Material;CHAIN:Lnet/minecraft/item/ArmorItem$Material;
    • IRON

      public static final ArmorItem.Material IRON
      Mappings:
      Namespace Name Mixin selector
      official c Ladp$a;c:Ladp$a;
      intermediary field_4163 Lnet/minecraft/class_1028$class_1029;field_4163:Lnet/minecraft/class_1028$class_1029;
      named IRON Lnet/minecraft/item/ArmorItem$Material;IRON:Lnet/minecraft/item/ArmorItem$Material;
    • GOLD

      public static final ArmorItem.Material GOLD
      Mappings:
      Namespace Name Mixin selector
      official d Ladp$a;d:Ladp$a;
      intermediary field_4164 Lnet/minecraft/class_1028$class_1029;field_4164:Lnet/minecraft/class_1028$class_1029;
      named GOLD Lnet/minecraft/item/ArmorItem$Material;GOLD:Lnet/minecraft/item/ArmorItem$Material;
    • DIAMOND

      public static final ArmorItem.Material DIAMOND
      Mappings:
      Namespace Name Mixin selector
      official e Ladp$a;e:Ladp$a;
      intermediary field_4165 Lnet/minecraft/class_1028$class_1029;field_4165:Lnet/minecraft/class_1028$class_1029;
      named DIAMOND Lnet/minecraft/item/ArmorItem$Material;DIAMOND:Lnet/minecraft/item/ArmorItem$Material;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official f Ladp$a;f:Ljava/lang/String;
      intermediary field_12155 Lnet/minecraft/class_1028$class_1029;field_12155:Ljava/lang/String;
      named name Lnet/minecraft/item/ArmorItem$Material;name:Ljava/lang/String;
    • durability

      private final int durability
      Mappings:
      Namespace Name Mixin selector
      official g Ladp$a;g:I
      intermediary field_4166 Lnet/minecraft/class_1028$class_1029;field_4166:I
      named durability Lnet/minecraft/item/ArmorItem$Material;durability:I
    • protection

      private final int[] protection
      Mappings:
      Namespace Name Mixin selector
      official h Ladp$a;h:[I
      intermediary field_4167 Lnet/minecraft/class_1028$class_1029;field_4167:[I
      named protection Lnet/minecraft/item/ArmorItem$Material;protection:[I
    • enchantability

      private final int enchantability
      Mappings:
      Namespace Name Mixin selector
      official i Ladp$a;i:I
      intermediary field_4168 Lnet/minecraft/class_1028$class_1029;field_4168:I
      named enchantability Lnet/minecraft/item/ArmorItem$Material;enchantability:I
    • field_12278

      private final SoundEvent field_12278
      Mappings:
      Namespace Name Mixin selector
      official j Ladp$a;j:Lnm;
      intermediary field_12278 Lnet/minecraft/class_1028$class_1029;field_12278:Lnet/minecraft/class_2926;
      named field_12278 Lnet/minecraft/item/ArmorItem$Material;field_12278:Lnet/minecraft/client/sound/SoundEvent;
    • field_12279

      private final float field_12279
      Mappings:
      Namespace Name Mixin selector
      official k Ladp$a;k:F
      intermediary field_12279 Lnet/minecraft/class_1028$class_1029;field_12279:F
      named field_12279 Lnet/minecraft/item/ArmorItem$Material;field_12279:F
  • Constructor Details

    • Material

      private Material(String string, int int2, int[] int3, int int4, SoundEvent soundEvent, float float2)
  • Method Details

    • values

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

      public static ArmorItem.Material 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • method_11354

      public int method_11354(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official a Ladp$a;a(Lss;)I
      intermediary method_11354 Lnet/minecraft/class_1028$class_1029;method_11354(Lnet/minecraft/class_2968;)I
      named method_11354 Lnet/minecraft/item/ArmorItem$Material;method_11354(Lnet/minecraft/entity/EquipmentSlot;)I
    • method_11356

      public int method_11356(EquipmentSlot equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      official b Ladp$a;b(Lss;)I
      intermediary method_11356 Lnet/minecraft/class_1028$class_1029;method_11356(Lnet/minecraft/class_2968;)I
      named method_11356 Lnet/minecraft/item/ArmorItem$Material;method_11356(Lnet/minecraft/entity/EquipmentSlot;)I
    • getEnchantability

      public int getEnchantability()
      Mappings:
      Namespace Name Mixin selector
      official a Ladp$a;a()I
      intermediary method_3305 Lnet/minecraft/class_1028$class_1029;method_3305()I
      named getEnchantability Lnet/minecraft/item/ArmorItem$Material;getEnchantability()I
    • method_11355

      public SoundEvent method_11355()
      Mappings:
      Namespace Name Mixin selector
      official b Ladp$a;b()Lnm;
      intermediary method_11355 Lnet/minecraft/class_1028$class_1029;method_11355()Lnet/minecraft/class_2926;
      named method_11355 Lnet/minecraft/item/ArmorItem$Material;method_11355()Lnet/minecraft/client/sound/SoundEvent;
    • getRepairIngredient

      public Item getRepairIngredient()
      Mappings:
      Namespace Name Mixin selector
      official c Ladp$a;c()Lafh;
      intermediary method_6339 Lnet/minecraft/class_1028$class_1029;method_6339()Lnet/minecraft/class_1069;
      named getRepairIngredient Lnet/minecraft/item/ArmorItem$Material;getRepairIngredient()Lnet/minecraft/item/Item;
    • getName

      @Environment(CLIENT) public String getName()
      Mappings:
      Namespace Name Mixin selector
      official d Ladp$a;d()Ljava/lang/String;
      intermediary method_11266 Lnet/minecraft/class_1028$class_1029;method_11266()Ljava/lang/String;
      named getName Lnet/minecraft/item/ArmorItem$Material;getName()Ljava/lang/String;
    • method_11357

      public float method_11357()
      Mappings:
      Namespace Name Mixin selector
      official e Ladp$a;e()F
      intermediary method_11357 Lnet/minecraft/class_1028$class_1029;method_11357()F
      named method_11357 Lnet/minecraft/item/ArmorItem$Material;method_11357()F