net.minecraft.world.item

public class ArmorItem

extends Item implements Equipable

All mapped superinterfaces:

FeatureElement, ItemLike, Equipable

csf
net.minecraft.world.item.ArmorItem
net.minecraft.class_1738
net.minecraft.unmapped.C_fxxorins
net.minecraft.item.ArmorItem
net.minecraft.item.ArmorItem
net.minecraft.src.C_1313_
net.minecraft.world.item.ItemArmor

Field summary

Modifier and TypeField
public static final DispenseItemBehavior
a
DISPENSE_ITEM_BEHAVIOR
field_7879
f_mbpotsct
DISPENSER_BEHAVIOR
DISPENSER_BEHAVIOR
f_40376_
protected final ArmorItem$Type
b
type
field_41933
f_ypgnqpbg
type
armorSlot
f_265916_
protected final Holder<ArmorMaterial>
c
material
field_7881
f_gmumlgwi
material
material
f_40379_
private final Supplier<ItemAttributeModifiers>
j
defaultModifiers
field_23741
f_jztfkhpa
attributeModifiers
attributeModifiers
f_40383_

Constructor summary

ModifierConstructor
public (Holder<ArmorMaterial> material, ArmorItem$Type type, Item$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(ku arg0, cuq arg1)
dispenseArmor(BlockSource arg0, ItemStack arg1)
method_7684(class_2342 arg0, class_1799 arg1)
m_tfnujbhj(C_wzdnszcs arg0, C_sddaxwyk arg1)
dispenseArmor(BlockPointer pointer, ItemStack armor)
dispenseArmor(BlockPointer pointer, ItemStack armor)
m_40398_(C_301780_ p_40399_, C_1391_ p_40400_)
public ArmorItem$Type
f()
getType()
method_48398()
m_onnbzkne()
getType()
getArmorSlot()
m_266204_()
public int
g()
getEnchantmentValue()
method_7837()
m_tspifhtw()
getEnchantability()
getEnchantability()
m_6473_()
public Holder<ArmorMaterial>
h()
getMaterial()
method_7686()
m_pfobkill()
getMaterial()
getMaterial()
m_40401_()
public boolean
a(cuq arg0, cuq arg1)
isValidRepairItem(ItemStack arg0, ItemStack arg1)
method_7878(class_1799 arg0, class_1799 arg1)
m_hsttveiz(C_sddaxwyk arg0, C_sddaxwyk arg1)
canRepair(ItemStack arg0, ItemStack arg1)
canRepair(ItemStack arg0, ItemStack arg1)
m_6832_(C_1391_ p_40393_, C_1391_ arg1)
public InteractionResultHolder<ItemStack>
a(dcw arg0, cmx arg1, bqq arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_40396_, C_1141_ p_40397_, C_470_ arg2)
public ItemAttributeModifiers
j()
getDefaultAttributeModifiers()
method_7844()
m_xljmpsqi()
getAttributeModifiers()
getAttributeModifiers()
m_7167_()
public int
k()
getDefense()
method_7687()
m_dgdrwgag()
getProtection()
getProtection()
m_40404_()
public float
l()
getToughness()
method_26353()
m_qzjbtqia()
getToughness()
getToughness()
m_40405_()
public EquipmentSlot
m()
getEquipmentSlot()
method_7685()
m_obylxemf()
getSlotType()
getPreferredSlot()
m_40402_()
public Holder<SoundEvent>
n()
getEquipSound()
method_31570()
m_ndbemose()
getEquipSound()
getEquipSound()
m_150681_()