net.minecraft.world.item.equipment

public record ArmorMaterial

dfp
net.minecraft.world.item.equipment.ArmorMaterial
net.minecraft.class_1741
net.minecraft.item.equipment.ArmorMaterial
net.minecraft.src.C_345702_
net.minecraft.world.item.equipment.ArmorMaterial

Field summary

Modifier and TypeField
private final int
a
durability
comp_3166
durability
f_347644_
private final Map<ArmorType, Integer>
b
defense
comp_2298
defense
f_347058_
private final int
c
enchantmentValue
comp_3167
enchantmentValue
f_348662_
private final Holder<SoundEvent>
d
equipSound
comp_2300
equipSound
f_347962_
private final float
e
toughness
comp_2303
toughness
f_347773_
private final float
f
knockbackResistance
comp_2304
knockbackResistance
f_348607_
private final TagKey<Item>
g
repairIngredient
comp_2301
repairIngredient
f_346440_
private final ResourceLocation
h
modelId
comp_3168
modelId
f_347289_

Constructor summary

ModifierConstructor
public (int defense, Map<ArmorType, Integer> enchantmentValue, int equipSound, Holder<SoundEvent> toughness, float knockbackResistance, float repairIngredient, TagKey<Item> modelId, ResourceLocation arg7)

Method summary

Modifier and TypeMethod
public Item$Properties
a(cxl$a arg0, dfr arg1)
humanoidProperties(Item$Properties arg0, ArmorType arg1)
method_63991(class_1792$class_1793 arg0, class_8051 arg1)
applySettings(Item$Settings settings, EquipmentType equipmentType)
m_356775_(C_1381_$C_1383_ p_369272_, C_345648_ arg1)
public Item$Properties
a(cxl$a arg0, ju<bvr<?>> arg1)
animalProperties(Item$Properties arg0, HolderSet<EntityType<?>> arg1)
method_63992(class_1792$class_1793 arg0, class_6885<class_1299<?>> arg1)
applyBodyArmorSettings(Item$Settings settings, RegistryEntryList<EntityType<?>> allowedEntities)
m_357302_(C_1381_$C_1383_ p_370025_, C_203233_<C_513_<?>> arg1)
public Item$Properties
a(cxl$a arg0, jq<axe> arg1, boolean arg2, ju<bvr<?>> arg3)
animalProperties(Item$Properties arg0, Holder<SoundEvent> arg1, boolean arg2, HolderSet<EntityType<?>> arg3)
method_64503(class_1792$class_1793 arg0, class_6880<class_3414> arg1, boolean arg2, class_6885<class_1299<?>> arg3)
applyBodyArmorSettings(Item$Settings settings, RegistryEntry<SoundEvent> equipSound, boolean damageOnHurt, RegistryEntryList<EntityType<?>> allowedEntities)
m_356127_(C_1381_$C_1383_ p_362547_, C_203228_<C_123_> p_365564_, boolean p_362091_, C_203233_<C_513_<?>> arg3)
private ItemAttributeModifiers
a(dfr arg0)
createAttributes(ArmorType arg0)
method_63993(class_8051 arg0)
createAttributeModifiers(EquipmentType equipmentType)
m_354119_(C_345648_ arg0)
public int
a()
durability()
comp_3166()
durability()
f_347644_()
public Map<ArmorType, Integer>
b()
defense()
comp_2298()
defense()
f_347058_()
public int
c()
enchantmentValue()
comp_3167()
enchantmentValue()
f_348662_()
public Holder<SoundEvent>
d()
equipSound()
comp_2300()
equipSound()
f_347962_()
public float
e()
toughness()
comp_2303()
toughness()
f_347773_()
public float
f()
knockbackResistance()
comp_2304()
knockbackResistance()
f_348607_()
public TagKey<Item>
g()
repairIngredient()
comp_2301()
repairIngredient()
f_346440_()
public ResourceLocation
h()
modelId()
comp_3168()
modelId()
f_347289_()