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 voidHumanoidArmorLayer.renderTrim(Holder<ArmorMaterial> armorMaterial, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, ArmorTrim trim, A model, boolean innerTexture) private voidHumanoidArmorLayer.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_MATERIALstatic 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.overrideArmorMaterialsThe field for theoverrideArmorMaterialsrecord component.Methods in net.minecraft.data.models that return types with arguments of type ArmorMaterialModifier and TypeMethodDescriptionItemModelGenerators.TrimModelData.overrideArmorMaterials()Returns the value of theoverrideArmorMaterialsrecord component.Method parameters in net.minecraft.data.models with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionprivate com.google.gson.JsonObjectItemModelGenerators.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 aTrimModelDatarecord 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.ARMADILLOstatic final Holder<ArmorMaterial> ArmorMaterials.CHAINstatic final com.mojang.serialization.Codec<Holder<ArmorMaterial>> ArmorMaterial.CODECstatic final Holder<ArmorMaterial> ArmorMaterials.DIAMONDstatic final Holder<ArmorMaterial> ArmorMaterials.GOLDstatic final Holder<ArmorMaterial> ArmorMaterials.IRONstatic final Holder<ArmorMaterial> ArmorMaterials.LEATHERprotected final Holder<ArmorMaterial> ArmorItem.materialstatic final Holder<ArmorMaterial> ArmorMaterials.NETHERITEstatic final Holder<ArmorMaterial> ArmorMaterials.TURTLEMethods 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.innerTextureprivate final Function<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.outerTextureprivate final Map<Holder<ArmorMaterial>, String> TrimMaterial.overrideArmorMaterialsThe field for theoverrideArmorMaterialsrecord component.Methods in net.minecraft.world.item.armortrim that return types with arguments of type ArmorMaterialModifier and TypeMethodDescriptionTrimMaterial.overrideArmorMaterials()Returns the value of theoverrideArmorMaterialsrecord component.Method parameters in net.minecraft.world.item.armortrim with type arguments of type ArmorMaterialModifier and TypeMethodDescriptionstatic TrimMaterialTrimMaterial.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 voidTrimMaterials.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 ArmorMaterialModifierConstructorDescriptionprivateArmorTrim(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 aTrimMaterialrecord class.