Class ArmorItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ArmorItem

public class ArmorItem extends Item
Mappings:
Namespace Name
intermediary net/minecraft/class_500
glue class_540
server nx
client wa
named net/minecraft/item/ArmorItem
  • Field Details

    • PROTECTION_BY_SLOT

      private static final int[] PROTECTION_BY_SLOT
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2086 Lnet/minecraft/class_500;field_2086:[I
      glue field_2307 Lclass_540;field_2307:[I
      server bn Lnx;bn:[I
      client bn Lwa;bn:[I
      named PROTECTION_BY_SLOT Lnet/minecraft/item/ArmorItem;PROTECTION_BY_SLOT:[I
    • DURABILITY_BY_SLOT

      private static final int[] DURABILITY_BY_SLOT
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2087 Lnet/minecraft/class_500;field_2087:[I
      glue field_2308 Lclass_540;field_2308:[I
      server bo Lnx;bo:[I
      client bo Lwa;bo:[I
      named DURABILITY_BY_SLOT Lnet/minecraft/item/ArmorItem;DURABILITY_BY_SLOT:[I
    • type

      public final int type
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2082 Lnet/minecraft/class_500;field_2082:I
      glue field_2303 Lclass_540;field_2303:I
      server a Lnx;a:I
      client a Lwa;a:I
      named type Lnet/minecraft/item/ArmorItem;type:I
    • equipmentSlot

      public final int equipmentSlot
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2083 Lnet/minecraft/class_500;field_2083:I
      glue field_2304 Lclass_540;field_2304:I
      server bk Lnx;bk:I
      client bk Lwa;bk:I
      named equipmentSlot Lnet/minecraft/item/ArmorItem;equipmentSlot:I
    • maxProtection

      public final int maxProtection
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2084 Lnet/minecraft/class_500;field_2084:I
      glue field_2305 Lclass_540;field_2305:I
      server bl Lnx;bl:I
      client bl Lwa;bl:I
      named maxProtection Lnet/minecraft/item/ArmorItem;maxProtection:I
    • textureIndex

      public final int textureIndex
      Used in PlayerEntityRenderer to determine which texture file to use in order of : cloth, chain, iron, diamond, gold
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2085 Lnet/minecraft/class_500;field_2085:I
      glue field_2306 Lclass_540;field_2306:I
      server bm Lnx;bm:I
      client bm Lwa;bm:I
      named textureIndex Lnet/minecraft/item/ArmorItem;textureIndex:I
  • Constructor Details

    • ArmorItem

      public ArmorItem(int id, int type, int textureIndex, int equipmentSlot)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_500;<init>(IIII)V
      glue <init> Lclass_540;<init>(IIII)V
      server <init> Lnx;<init>(IIII)V
      client <init> Lwa;<init>(IIII)V
      named <init> Lnet/minecraft/item/ArmorItem;<init>(IIII)V