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> pArmorMaterial, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, ArmorTrim pTrim, A pModel, boolean pInnerTexture) 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 p_266939_, Map<TextureSlot, ResourceLocation> p_267324_, Holder<ArmorMaterial> p_323559_) ItemModelGenerators.TrimModelData.name
(Holder<ArmorMaterial> pArmorMaterial) 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> pRegistry) ArmorItem.getMaterial()
private static Holder
<ArmorMaterial> ArmorMaterials.register
(String pName, EnumMap<ArmorItem.Type, Integer> pDefense, int pEnchantmentValue, Holder<SoundEvent> pEquipSound, float pToughness, float pKnockbackResistance, Supplier<Ingredient> pRepairIngredient) private static Holder
<ArmorMaterial> ArmorMaterials.register
(String pName, EnumMap<ArmorItem.Type, Integer> pDefense, int pEnchantmentValue, Holder<SoundEvent> pEquipSound, float pToughness, float pKnockbackResistance, Supplier<Ingredient> pRepairIngridient, List<ArmorMaterial.Layer> pLayers) Method parameters in net.minecraft.world.item with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> pRegistry) Constructor parameters in net.minecraft.world.item with type arguments of type ArmorMaterialModifierConstructorDescriptionAnimalArmorItem
(Holder<ArmorMaterial> pArmorMaterial, AnimalArmorItem.BodyType pBodyType, boolean pHasOverlay, Item.Properties pProperties) ArmorItem
(Holder<ArmorMaterial> pMaterial, ArmorItem.Type pType, Item.Properties pProperties) -
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 pAssetName, Item pIngredient, float pItemModelIndex, Component pDescription, Map<Holder<ArmorMaterial>, String> pOverrideArmorMaterials) ArmorTrim.innerTexture
(Holder<ArmorMaterial> pArmorMaterial) ArmorTrim.outerTexture
(Holder<ArmorMaterial> pArmorMaterial) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> pContext, ResourceKey<TrimMaterial> pMaterialKey, Item pIngredient, Style pStyle, float pItemModelIndex, Map<Holder<ArmorMaterial>, String> pOverrideArmorMaterials) Constructor parameters in net.minecraft.world.item.armortrim with type arguments of type ArmorMaterialModifierConstructorDescriptionprivate
ArmorTrim
(Holder<TrimMaterial> pMaterial, Holder<TrimPattern> pPattern, boolean pShowInTooltip, Function<Holder<ArmorMaterial>, ResourceLocation> pInnerTexture, Function<Holder<ArmorMaterial>, ResourceLocation> pOuterTexture) TrimMaterial
(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterial
record class. -
Uses of ArmorMaterial in net.neoforged.neoforge.oldtest.client
Constructor parameters in net.neoforged.neoforge.oldtest.client with type arguments of type ArmorMaterialModifierConstructorDescriptionEndermanArmorItem
(Holder<ArmorMaterial> material, ArmorItem.Type slot, Item.Properties props)