net.minecraft.world.item

public record ArmorMaterial

csh
net.minecraft.world.item.ArmorMaterial
net.minecraft.class_1741
net.minecraft.unmapped.C_fwzogbap
net.minecraft.item.ArmorMaterial
net.minecraft.item.ArmorMaterial
net.minecraft.src.C_1315_
net.minecraft.world.item.ArmorMaterial

Field summary

Modifier and TypeField
private final Map<ArmorItem$Type, Integer>
b
defense
comp_2298
f_dbnaedxc
defense
defense
f_316203_
private final int
c
enchantmentValue
comp_2299
f_nagvpdph
enchantability
enchantmentValue
f_313926_
private final Holder<SoundEvent>
d
equipSound
comp_2300
f_lnuqpqyb
equipSound
equipSound
f_313996_
private final Supplier<Ingredient>
e
repairIngredient
comp_2301
f_wamsaiaq
repairIngredient
repairIngredient
f_315867_
private final List<ArmorMaterial$Layer>
f
layers
comp_2302
f_alnlzuet
layers
layers
f_315892_
private final float
g
toughness
comp_2303
f_cgcurame
toughness
toughness
f_316002_
private final float
h
knockbackResistance
comp_2304
f_zcuxvsxz
knockbackResistance
knockbackResistance
f_317001_
public static final com.mojang.serialization.Codec<Holder<ArmorMaterial>>
a
CODEC
field_48840
f_qvhbvynq
CODEC
CODEC
f_314133_

Constructor summary

ModifierConstructor
public (Map<ArmorItem$Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, Supplier<Ingredient> repairIngredient, List<ArmorMaterial$Layer> layers, float toughness, float knockbackResistance)

Method summary

Modifier and TypeMethod
public int
a(csg$a arg0)
getDefense(ArmorItem$Type arg0)
method_48403(class_1738$class_8051 arg0)
m_pbezkfps(C_fxxorins$C_rhnguwzk arg0)
getProtection(ArmorItem$Type type)
getDefense(ArmorItem$ArmorSlot slot)
m_323068_(C_1313_$C_265803_ arg0)
public Map<ArmorItem$Type, Integer>
a()
defense()
comp_2298()
m_bnlsjuao()
defense()
defense()
f_316203_()
public int
b()
enchantmentValue()
comp_2299()
m_qlwrkjvt()
enchantability()
enchantmentValue()
f_313926_()
public Holder<SoundEvent>
c()
equipSound()
comp_2300()
m_xzstsoad()
equipSound()
equipSound()
f_313996_()
public Supplier<Ingredient>
d()
repairIngredient()
comp_2301()
m_arbkyual()
repairIngredient()
repairIngredient()
f_315867_()
public List<ArmorMaterial$Layer>
e()
layers()
comp_2302()
m_vyihavhw()
layers()
layers()
f_315892_()
public float
f()
toughness()
comp_2303()
m_uttlekal()
toughness()
toughness()
f_316002_()
public float
g()
knockbackResistance()
comp_2304()
m_jxpirvcc()
knockbackResistance()
knockbackResistance()
f_317001_()