net.minecraft.item

public class ArmorItem

extends Item implements Wearable

All mapped superinterfaces:

ItemConvertible, Wearable, Vanishable

bok
net.minecraft.world.item.ArmorItem
net.minecraft.class_1738
net.minecraft.item.ArmorItem
net.minecraft.unmapped.C_fxxorins
net.minecraft.src.C_1313_

Field summary

Modifier and TypeField
private static final UUID[]
e
ARMOR_MODIFIER_UUID_PER_SLOT
field_7876
MODIFIERS
f_mpigbjst
f_40380_
public static final DispenserBehavior
a
DISPENSE_ITEM_BEHAVIOR
field_7879
DISPENSER_BEHAVIOR
f_mbpotsct
f_40376_
protected final EquipmentSlot
b
slot
field_7880
slot
f_kgcqvmer
f_40377_
private final int
f
defense
field_7878
protection
f_ouareelg
f_40381_
private final float
g
toughness
field_7877
toughness
f_zidsyjnl
f_40382_
protected final float
c
knockbackResistance
field_21976
knockbackResistance
f_cjjvqnix
f_40378_
protected final ArmorMaterial
d
material
field_7881
type
f_gmumlgwi
f_40379_
private final com.google.common.collect.Multimap<EntityAttribute, EntityAttributeModifier>
h
defaultModifiers
field_23741
attributeModifiers
f_jztfkhpa
f_40383_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static boolean
a(gh o, bqp o)
dispenseArmor(BlockSource arg0, ItemStack arg1)
method_7684(class_2342 arg0, class_1799 arg1)
dispenseArmor(BlockPointer pointer, ItemStack armor)
m_tfnujbhj(C_wzdnszcs arg0, C_sddaxwyk arg1)
m_40398_(C_4682_ p_40399_, C_1391_ p_40400_)
public EquipmentSlot
b()
getSlot()
method_7685()
getSlotType()
m_bwnxyfcp()
m_40402_()
public int
c()
getEnchantmentValue()
method_7837()
getEnchantability()
m_tspifhtw()
m_6473_()
public ArmorMaterial
d()
getMaterial()
method_7686()
getMaterial()
m_pfobkill()
m_40401_()
public boolean
a(bqp o, bqp arg1)
isValidRepairItem(ItemStack arg0, ItemStack arg1)
method_7878(class_1799 arg0, class_1799 arg1)
canRepair(ItemStack arg0, ItemStack arg1)
m_hsttveiz(C_sddaxwyk arg0, C_sddaxwyk arg1)
m_6832_(C_1391_ p_40393_, C_1391_ arg1)
public TypedActionResult<ItemStack>
a(bwp o, bkd o, arz 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)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
m_7203_(C_1596_ p_40396_, C_1141_ p_40397_, C_470_ arg2)
public com.google.common.collect.Multimap<EntityAttribute, EntityAttributeModifier>
a(atk arg0)
getDefaultAttributeModifiers(EquipmentSlot arg0)
method_7844(class_1304 arg0)
getAttributeModifiers(EquipmentSlot arg0)
m_xljmpsqi(C_yuycoehb arg0)
m_7167_(C_516_ arg0)
public int
e()
getDefense()
method_7687()
getProtection()
m_dgdrwgag()
m_40404_()
public float
f()
getToughness()
method_26353()
getToughness()
m_qzjbtqia()
m_40405_()
public SoundEvent
g()
getEquipSound()
method_31570()
getEquipSound()
m_wnhhsjbx()
m_142602_()