Uses of Record Class
net.minecraft.client.resources.model.EquipmentClientInfo.Layer
Packages that use EquipmentClientInfo.Layer
Package
Description
-
Uses of EquipmentClientInfo.Layer in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers declared as EquipmentClientInfo.LayerModifier and TypeFieldDescriptionprivate final EquipmentClientInfo.Layer
EquipmentLayerRenderer.LayerTextureKey.layer
The field for thelayer
record component.Methods in net.minecraft.client.renderer.entity.layers that return EquipmentClientInfo.LayerModifier and TypeMethodDescriptionEquipmentLayerRenderer.LayerTextureKey.layer()
Returns the value of thelayer
record component.Methods in net.minecraft.client.renderer.entity.layers with parameters of type EquipmentClientInfo.LayerModifier and TypeMethodDescriptionstatic int
EquipmentLayerRenderer.getColorForLayer
(EquipmentClientInfo.Layer p_386482_, int p_371443_) Constructors in net.minecraft.client.renderer.entity.layers with parameters of type EquipmentClientInfo.LayerModifierConstructorDescription(package private)
LayerTextureKey
(EquipmentClientInfo.LayerType layerType, EquipmentClientInfo.Layer layer) Creates an instance of aLayerTextureKey
record class. -
Uses of EquipmentClientInfo.Layer in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model with type parameters of type EquipmentClientInfo.LayerModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EquipmentClientInfo.Layer> EquipmentClientInfo.Layer.CODEC
private static final com.mojang.serialization.Codec
<List<EquipmentClientInfo.Layer>> EquipmentClientInfo.LAYER_LIST_CODEC
private final Map
<EquipmentClientInfo.LayerType, List<EquipmentClientInfo.Layer>> EquipmentClientInfo.layers
The field for thelayers
record component.private final Map
<EquipmentClientInfo.LayerType, List<EquipmentClientInfo.Layer>> EquipmentClientInfo.Builder.layersByType
Methods in net.minecraft.client.resources.model that return EquipmentClientInfo.LayerModifier and TypeMethodDescriptionstatic EquipmentClientInfo.Layer
EquipmentClientInfo.Layer.leatherDyeable
(ResourceLocation p_388888_, boolean p_388540_) static EquipmentClientInfo.Layer
EquipmentClientInfo.Layer.onlyIfDyed
(ResourceLocation p_388030_, boolean p_386457_) Methods in net.minecraft.client.resources.model that return types with arguments of type EquipmentClientInfo.LayerModifier and TypeMethodDescriptionEquipmentClientInfo.getLayers
(EquipmentClientInfo.LayerType p_387923_) EquipmentClientInfo.layers()
Returns the value of thelayers
record component.Methods in net.minecraft.client.resources.model with parameters of type EquipmentClientInfo.LayerModifier and TypeMethodDescriptionEquipmentClientInfo.Builder.addLayers
(EquipmentClientInfo.LayerType p_388688_, EquipmentClientInfo.Layer... p_388509_) Constructor parameters in net.minecraft.client.resources.model with type arguments of type EquipmentClientInfo.LayerModifierConstructorDescriptionCreates an instance of aEquipmentClientInfo
record class. -
Uses of EquipmentClientInfo.Layer in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type EquipmentClientInfo.LayerModifier and TypeMethodDescriptionstatic ResourceLocation
ClientHooks.getArmorTexture
(ItemStack armor, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) -
Uses of EquipmentClientInfo.Layer in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type EquipmentClientInfo.LayerModifier and TypeMethodDescriptiondefault int
IClientItemExtensions.getArmorLayerTintColor
(ItemStack stack, EquipmentClientInfo.Layer layer, int layerIdx, int fallbackColor) Called when armor layers are rendered byEquipmentLayerRenderer
.default @Nullable ResourceLocation
IClientItemExtensions.getArmorTexture
(ItemStack stack, EquipmentClientInfo.LayerType type, EquipmentClientInfo.Layer layer, ResourceLocation _default) Called by RenderBiped and RenderPlayer to determine the armor texture that should be used for the currently equipped item.