net.minecraft.world.item

public enum ArmorMaterials

implements ArmorMaterial

bsb
net.minecraft.world.item.ArmorMaterials
net.minecraft.class_1740
net.minecraft.item.ArmorMaterials
net.minecraft.src.C_1318_
net.minecraft.world.item.EnumArmorMaterial

Enum constant summary

Enum Constant
a
LEATHER
field_7897
LEATHER
LEATHER
b
CHAIN
field_7887
CHAIN
CHAIN
c
IRON
field_7892
IRON
IRON
d
GOLD
field_7895
GOLD
GOLD
e
DIAMOND
field_7889
DIAMOND
DIAMOND
f
TURTLE
field_7890
TURTLE
TURTLE
g
NETHERITE
field_21977
NETHERITE
NETHERITE

Field summary

Modifier and TypeField
private static final int[]
h
HEALTH_PER_SLOT
field_7891
BASE_DURABILITY
f_40460_
private final String
i
name
field_7884
name
f_40461_
private final int
j
durabilityMultiplier
field_7883
durabilityMultiplier
f_40462_
private final int[]
k
slotProtections
field_7893
protectionAmounts
f_40463_
private final int
l
enchantmentValue
field_7896
enchantability
f_40464_
private final SoundEvent
m
sound
field_7886
equipSound
f_40465_
private final float
n
toughness
field_7894
toughness
f_40466_
private final float
o
knockbackResistance
field_21978
knockbackResistance
f_40467_
private final LazyLoadedValue<Ingredient>
p
repairIngredient
field_7885
repairIngredientSupplier
f_40468_

Constructor summary

ModifierConstructor
private (String p_40473_, int p_40474_, int[] name, int durabilityMultiplier, SoundEvent protectionAmounts, float enchantability, float equipSound, Supplier<Ingredient> toughness)

Method summary

Modifier and TypeMethod
public int
a(awy arg0)
getDurabilityForSlot(EquipmentSlot arg0)
method_7696(class_1304 arg0)
getDurability(EquipmentSlot arg0)
m_7366_(C_516_ arg0)
public int
b(awy arg0)
getDefenseForSlot(EquipmentSlot arg0)
method_7697(class_1304 arg0)
getProtectionAmount(EquipmentSlot arg0)
m_7365_(C_516_ arg0)
public int
a()
getEnchantmentValue()
method_7699()
getEnchantability()
m_6646_()
public SoundEvent
b()
getEquipSound()
method_7698()
getEquipSound()
m_7344_()
public Ingredient
c()
getRepairIngredient()
method_7695()
getRepairIngredient()
m_6230_()
public String
d()
getName()
method_7694()
getName()
m_6082_()
public float
e()
getToughness()
method_7700()
getToughness()
m_6651_()
public float
f()
getKnockbackResistance()
method_24355()
getKnockbackResistance()
m_6649_()