net.minecraft.world.item

public class ArmorItem

extends Item implements Wearable

All mapped superinterfaces:

ItemLike, Wearable, Vanishable

bid
net.minecraft.world.item.ArmorItem
net.minecraft.class_1738
net.minecraft.item.ArmorItem
net.minecraft.item.ArmorItem
net.minecraft.server.v1_16_R1.ItemArmor

Field summary

Modifier and TypeField
private static final UUID[]
j
ARMOR_MODIFIER_UUID_PER_SLOT
field_7876
MODIFIERS
field_185084_n
public static final DispenseItemBehavior
a
DISPENSE_ITEM_BEHAVIOR
field_7879
DISPENSER_BEHAVIOR
field_96605_cw
protected final EquipmentSlot
b
slot
field_7880
slot
field_77881_a
private final int
k
defense
field_7878
protection
field_77879_b
private final float
l
toughness
field_7877
toughness
field_189415_e
protected final float
c
knockbackResistance
field_21976
knockbackResistance
field_234655_c_
protected final ArmorMaterial
d
material
field_7881
type
field_200882_e
private final com.google.common.collect.Multimap<Attribute, AttributeModifier>
m
defaultModifiers
field_23741
attributeModifiers
field_234656_m_

Constructor summary

ModifierConstructor
public (ArmorMaterial material, EquipmentSlot slot, Item$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(fv arg0, bki arg1)
dispenseArmor(BlockSource arg0, ItemStack arg1)
method_7684(class_2342 arg0, class_1799 arg1)
dispenseArmor(BlockPointer pointer, ItemStack armor)
func_226626_a_(IBlockSource arg0, ItemStack arg1)
public EquipmentSlot
b()
getSlot()
method_7685()
getSlotType()
func_185083_B_()
public int
c()
getEnchantmentValue()
method_7837()
getEnchantability()
func_77619_b()
public ArmorMaterial
ad_()
getMaterial()
method_7686()
getMaterial()
func_200880_d()
public boolean
a(bki arg0, bki arg1)
isValidRepairItem(ItemStack arg0, ItemStack arg1)
method_7878(class_1799 arg0, class_1799 arg1)
canRepair(ItemStack arg0, ItemStack arg1)
func_82789_a(ItemStack arg0, ItemStack arg1)
public InteractionResultHolder<ItemStack>
a(bqb arg0, bec arg1, anf arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)
public com.google.common.collect.Multimap<Attribute, AttributeModifier>
a(aor arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
getAttributeModifiers(EquipmentSlot arg0)
func_111205_h(EquipmentSlotType arg0)
public int
e()
getDefense()
method_7687()
getProtection()
func_200881_e()
public float
f()
getToughness()
method_26353()
method_26353()
func_234657_f_()