Package net.minecraft.world.item
Class ArmorMaterials
java.lang.Object
net.minecraft.world.item.ArmorMaterials
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> static final Holder
<ArmorMaterial> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> bootstrap
(Registry<ArmorMaterial> registry) private static Holder
<ArmorMaterial> register
(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static Holder
<ArmorMaterial> register
(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngridient, List<ArmorMaterial.Layer> layers)
-
Field Details
-
LEATHER
-
CHAIN
-
IRON
-
GOLD
-
DIAMOND
-
TURTLE
-
NETHERITE
-
ARMADILLO
-
-
Constructor Details
-
ArmorMaterials
public ArmorMaterials()
-
-
Method Details
-
bootstrap
-
register
private static Holder<ArmorMaterial> register(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) -
register
private static Holder<ArmorMaterial> register(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngridient, List<ArmorMaterial.Layer> layers)
-