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.world.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 ResourceLocation
h
modelId
comp_3168
modelId

Constructor summary

ModifierConstructor
public (int arg0, Map<ArmorType, Integer> arg1, int arg2, Holder<SoundEvent> arg3, float arg4, float arg5, TagKey<Item> arg6, 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)
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)
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)
private ItemAttributeModifiers
a(dfr 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 ResourceLocation
h()
modelId()
comp_3168()
modelId()