net.minecraft.world.item

public record ArmorMaterial

csh
net.minecraft.world.item.ArmorMaterial
net.minecraft.class_1741
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
defense
f_316203_
private final int
c
enchantmentValue
comp_2299
enchantability
f_313926_
private final Holder<SoundEvent>
d
equipSound
comp_2300
equipSound
f_313996_
private final Supplier<Ingredient>
e
repairIngredient
comp_2301
repairIngredient
f_315867_
private final List<ArmorMaterial$Layer>
f
layers
comp_2302
layers
f_315892_
private final float
g
toughness
comp_2303
toughness
f_316002_
private final float
h
knockbackResistance
comp_2304
knockbackResistance
f_317001_
public static final com.mojang.serialization.Codec<Holder<ArmorMaterial>>
a
CODEC
field_48840
CODEC
f_314133_

Constructor summary

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

Method summary

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