Uses of Record Class
net.minecraft.world.item.ArmorMaterial
Package
Description
-
Uses of ArmorMaterial in net.minecraft.client.renderer.entity.layers
Modifier and TypeMethodDescriptionprivate void
HumanoidArmorLayer.renderTrim
(Holder<ArmorMaterial> p_323506_, PoseStack p_289687_, MultiBufferSource p_289643_, int p_289683_, ArmorTrim p_289692_, A p_289663_, boolean p_289651_) 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
Modifier and TypeFieldDescriptionstatic final Registry
<ArmorMaterial> BuiltInRegistries.ARMOR_MATERIAL
static final ResourceKey
<Registry<ArmorMaterial>> Registries.ARMOR_MATERIAL
-
Uses of ArmorMaterial in net.minecraft.data.models
Modifier and TypeFieldDescriptionprivate final Map
<Holder<ArmorMaterial>, String> ItemModelGenerators.TrimModelData.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionItemModelGenerators.TrimModelData.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier 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> p_323590_) ModifierConstructorDescription(package private)
TrimModelData
(String name, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials) Creates an instance of aTrimModelData
record class. -
Uses of ArmorMaterial in net.minecraft.server.commands
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> p_323827_) ArmorItem.getMaterial()
private static Holder
<ArmorMaterial> ArmorMaterials.register
(String p_323589_, EnumMap<ArmorItem.Type, Integer> p_323819_, int p_323636_, Holder<SoundEvent> p_323958_, float p_323937_, float p_323731_, Supplier<Ingredient> p_323970_) private static Holder
<ArmorMaterial> ArmorMaterials.register
(String p_323865_, EnumMap<ArmorItem.Type, Integer> p_324599_, int p_324319_, Holder<SoundEvent> p_324145_, float p_323494_, float p_324549_, Supplier<Ingredient> p_323845_, List<ArmorMaterial.Layer> p_323990_) Modifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> p_323827_) ModifierConstructorDescriptionAnimalArmorItem
(Holder<ArmorMaterial> p_323836_, AnimalArmorItem.BodyType p_324315_, boolean p_331679_, Item.Properties p_316341_) ArmorItem
(Holder<ArmorMaterial> p_323783_, ArmorItem.Type p_266831_, Item.Properties p_40388_) -
Uses of ArmorMaterial in net.minecraft.world.item.armortrim
Modifier 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.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<Holder<ArmorMaterial>, String> p_267977_) ArmorTrim.innerTexture
(Holder<ArmorMaterial> p_324361_) ArmorTrim.outerTexture
(Holder<ArmorMaterial> p_323530_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321693_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<Holder<ArmorMaterial>, String> p_268352_) ModifierConstructorDescriptionprivate
ArmorTrim
(Holder<TrimMaterial> p_336069_, Holder<TrimPattern> p_335896_, boolean p_335621_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335613_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335818_) 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
ModifierConstructorDescriptionEndermanArmorItem
(Holder<ArmorMaterial> material, ArmorItem.Type slot, Item.Properties props) TintedArmorItem
(Holder<ArmorMaterial> material, ArmorItem.Type slot, Item.Properties props)