net.minecraft.world.item.equipment

public record ArmorMaterial

dgw
net.minecraft.world.item.equipment.ArmorMaterial
net.minecraft.class_1741
net.minecraft.item.equipment.ArmorMaterial

Field summary

Modifier and TypeField
private final int
a
durability
comp_3166
durability
private final Map<ArmorType, Integer>
b
defense
comp_2298
defense
private final int
c
enchantmentValue
comp_3167
enchantmentValue
private final Holder<SoundEvent>
d
equipSound
comp_2300
equipSound
private final float
e
toughness
comp_2303
toughness
private final float
f
knockbackResistance
comp_2304
knockbackResistance
private final TagKey<Item>
g
repairIngredient
comp_2301
repairIngredient
private final ResourceKey<EquipmentAsset>
h
assetId
comp_3168
assetId

Constructor summary

ModifierConstructor
public (int arg0, Map<ArmorType, Integer> arg1, int arg2, Holder<SoundEvent> arg3, float arg4, float arg5, TagKey<Item> arg6, ResourceKey<EquipmentAsset> arg7)

Method summary

Modifier and TypeMethod
public ItemAttributeModifiers
a(dgy arg0)
createAttributes(ArmorType arg0)
method_63993(class_8051 arg0)
createAttributeModifiers(EquipmentType equipmentType)
public int
a()
durability()
comp_3166()
durability()
public Map<ArmorType, Integer>
b()
defense()
comp_2298()
defense()
public int
c()
enchantmentValue()
comp_3167()
enchantmentValue()
public Holder<SoundEvent>
d()
equipSound()
comp_2300()
equipSound()
public float
e()
toughness()
comp_2303()
toughness()
public float
f()
knockbackResistance()
comp_2304()
knockbackResistance()
public TagKey<Item>
g()
repairIngredient()
comp_2301()
repairIngredient()
public ResourceKey<EquipmentAsset>
h()
assetId()
comp_3168()
assetId()