net.minecraft.world.item.equipment

public record ArmorMaterial

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

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 ResourceKey<EquipmentAsset>
h
assetId
comp_3168
assetId
f_371301_

Constructor summary

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

Method summary

Modifier and TypeMethod
public ItemAttributeModifiers
a(diq 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 ResourceKey<EquipmentAsset>
h()
assetId()
comp_3168()
assetId()
f_371301_()