Uses of Class
net.minecraft.world.item.ArmorMaterial.Layer
Package
Description
-
Uses of ArmorMaterial.Layer in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final List
<ArmorMaterial.Layer> ArmorMaterial.layers
The field for thelayers
record component.Modifier and TypeMethodDescriptionArmorMaterial.layers()
Returns the value of thelayers
record component.Modifier and TypeMethodDescriptionprivate 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_) ModifierConstructorDescriptionArmorMaterial
(Map<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers, float toughness, float knockbackResistance) Creates an instance of aArmorMaterial
record class. -
Uses of ArmorMaterial.Layer in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic ResourceLocation
ClientHooks.getArmorTexture
(Entity entity, ItemStack armor, ArmorMaterial.Layer layer, boolean innerModel, EquipmentSlot slot) -
Uses of ArmorMaterial.Layer in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault @Nullable ResourceLocation
IItemExtension.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel) Called by RenderBiped and RenderPlayer to determine the armor texture that should be use for the currently equipped item. -
Uses of ArmorMaterial.Layer in net.neoforged.neoforge.oldtest.client
Modifier and TypeMethodDescription@Nullable ResourceLocation
CustomArmorModelTest.EndermanArmorItem.getArmorTexture
(ItemStack stack, Entity entity, EquipmentSlot slot, ArmorMaterial.Layer layer, boolean innerModel)