Uses of Enum Class
net.minecraft.world.item.ArmorMaterials
-
Uses of ArmorMaterials in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final StringRepresentable.EnumCodec<ArmorMaterials>
ArmorMaterials.CODEC
Modifier and TypeMethodDescriptionstatic ArmorMaterials
Returns the enum constant of this class with the specified name.static ArmorMaterials[]
ArmorMaterials.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ArmorMaterials in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionprivate final Map<ArmorMaterials,
String> TrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionTrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionstatic TrimMaterial
TrimMaterial.create
(String p_268108_, Item p_268361_, float p_268202_, Component p_268273_, Map<ArmorMaterials, String> p_267977_) private static void
TrimMaterials.register
(BootstapContext<TrimMaterial> p_268244_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<ArmorMaterials, String> p_268352_) ModifierConstructorDescriptionTrimMaterial
(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<ArmorMaterials, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterial
record class.