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 pLayer, int pColor) 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 pTextureId, boolean pDyeable) static EquipmentClientInfo.Layer
EquipmentClientInfo.Layer.onlyIfDyed
(ResourceLocation pTextureId, boolean pDyeable) Methods in net.minecraft.client.resources.model that return types with arguments of type EquipmentClientInfo.LayerModifier and TypeMethodDescriptionEquipmentClientInfo.getLayers
(EquipmentClientInfo.LayerType pType) 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 pType, EquipmentClientInfo.Layer... pLayers) 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.