Uses of Record Class
net.minecraft.world.item.ArmorMaterial
Packages that use ArmorMaterial
Package
Description
-
Uses of ArmorMaterial in net.minecraft.client.renderer.entity.layers
Method parameters in net.minecraft.client.renderer.entity.layers with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionprivate void
HumanoidArmorLayer.renderTrim
(Holder<ArmorMaterial> armorMaterial, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ArmorTrim trim, A model, boolean innerTexture) private void
HumanoidArmorLayer.renderTrim
(Holder<ArmorMaterial> p_323506_, PoseStack p_289687_, MultiBufferSource p_289643_, int p_289683_, ArmorTrim p_289692_, Model p_289663_, boolean p_289651_) -
Uses of ArmorMaterial in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type ArmorMaterialModifier and TypeFieldDescriptionstatic final Registry
<ArmorMaterial> BuiltInRegistries.ARMOR_MATERIAL
static final ResourceKey
<Registry<ArmorMaterial>> Registries.ARMOR_MATERIAL
-
Uses of ArmorMaterial in net.minecraft.data.models
Fields in net.minecraft.data.models with type parameters of type ArmorMaterialModifier and TypeFieldDescriptionprivate final Map
<Holder<ArmorMaterial>, String> ItemModelGenerators.TrimModelData.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Methods in net.minecraft.data.models that return types with arguments of type ArmorMaterialModifier and TypeMethodDescriptionItemModelGenerators.TrimModelData.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Method parameters in net.minecraft.data.models with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionprivate com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation modelLocation, Map<TextureSlot, ResourceLocation> modelGetter, Holder<ArmorMaterial> armorMaterial) ItemModelGenerators.TrimModelData.name
(Holder<ArmorMaterial> armorMaterial) Constructor parameters in net.minecraft.data.models with type arguments of type ArmorMaterialModifierConstructorDescriptionTrimModelData
(String name, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials) Creates an instance of aTrimModelData
record class. -
Uses of ArmorMaterial in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type ArmorMaterialModifier and TypeFieldDescriptionprivate static final Map
<com.mojang.datafixers.util.Pair<Holder<ArmorMaterial>, EquipmentSlot>, Item> SpawnArmorTrimsCommand.MATERIAL_AND_SLOT_TO_ITEM
-
Uses of ArmorMaterial in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type ArmorMaterialModifier and TypeFieldDescriptionstatic final Holder
<ArmorMaterial> ArmorMaterials.ARMADILLO
static final Holder
<ArmorMaterial> ArmorMaterials.CHAIN
static final com.mojang.serialization.Codec
<Holder<ArmorMaterial>> ArmorMaterial.CODEC
static final Holder
<ArmorMaterial> ArmorMaterials.DIAMOND
static final Holder
<ArmorMaterial> ArmorMaterials.GOLD
static final Holder
<ArmorMaterial> ArmorMaterials.IRON
static final Holder
<ArmorMaterial> ArmorMaterials.LEATHER
protected final Holder
<ArmorMaterial> ArmorItem.material
static final Holder
<ArmorMaterial> ArmorMaterials.NETHERITE
static final Holder
<ArmorMaterial> ArmorMaterials.TURTLE
Methods in net.minecraft.world.item that return types with arguments of type ArmorMaterialModifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> registry) ArmorItem.getMaterial()
private static Holder
<ArmorMaterial> ArmorMaterials.register
(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static Holder
<ArmorMaterial> ArmorMaterials.register
(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngridient, List<ArmorMaterial.Layer> layers) Method parameters in net.minecraft.world.item with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> registry) Constructor parameters in net.minecraft.world.item with type arguments of type ArmorMaterialModifierConstructorDescriptionAnimalArmorItem
(Holder<ArmorMaterial> armorMaterial, AnimalArmorItem.BodyType bodyType, boolean hasOverlay, Item.Properties properties) ArmorItem
(Holder<ArmorMaterial> material, ArmorItem.Type type, Item.Properties properties) -
Uses of ArmorMaterial in net.minecraft.world.item.armortrim
Fields in net.minecraft.world.item.armortrim with type parameters of type ArmorMaterialModifier and TypeFieldDescriptionprivate final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.innerTexture
private final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.outerTexture
private final Map
<Holder<ArmorMaterial>, String> TrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Methods in net.minecraft.world.item.armortrim that return types with arguments of type ArmorMaterialModifier and TypeMethodDescriptionTrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Method parameters in net.minecraft.world.item.armortrim with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionstatic TrimMaterial
TrimMaterial.create
(String assetName, Item ingredient, float itemModelIndex, Component description, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials) ArmorTrim.innerTexture
(Holder<ArmorMaterial> armorMaterial) ArmorTrim.outerTexture
(Holder<ArmorMaterial> armorMaterial) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> context, ResourceKey<TrimMaterial> materialKey, Item ingredient, Style style, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials) Constructor parameters in net.minecraft.world.item.armortrim with type arguments of type ArmorMaterialModifierConstructorDescriptionprivate
ArmorTrim
(Holder<TrimMaterial> material, Holder<TrimPattern> pattern, boolean showInTooltip, Function<Holder<ArmorMaterial>, ResourceLocation> innerTexture, Function<Holder<ArmorMaterial>, ResourceLocation> outerTexture) TrimMaterial
(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterial
record class.