Uses of Record Class
net.minecraft.item.equipment.EquipmentModel.Layer
-
Uses of EquipmentModel.Layer in net.minecraft.client.render.entity.equipment
Modifier and TypeFieldDescriptionprivate final EquipmentModel.Layer
EquipmentRenderer.LayerTextureKey.layer
The field for thelayer
record component.Modifier and TypeMethodDescriptionEquipmentRenderer.LayerTextureKey.layer()
Returns the value of thelayer
record component.Modifier and TypeMethodDescriptionprivate static int
EquipmentRenderer.getDyeColor
(EquipmentModel.Layer layer, int dyeColor) ModifierConstructorDescription(package private)
LayerTextureKey
(EquipmentModel.LayerType layerType, EquipmentModel.Layer layer) Creates an instance of aLayerTextureKey
record class. -
Uses of EquipmentModel.Layer in net.minecraft.item.equipment
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EquipmentModel.Layer> EquipmentModel.Layer.CODEC
private static final com.mojang.serialization.Codec
<List<EquipmentModel.Layer>> EquipmentModel.LAYER_LIST_CODEC
private final Map
<EquipmentModel.LayerType, List<EquipmentModel.Layer>> EquipmentModel.Builder.layers
private final Map
<EquipmentModel.LayerType, List<EquipmentModel.Layer>> EquipmentModel.layers
The field for thelayers
record component.Modifier and TypeMethodDescriptionstatic EquipmentModel.Layer
EquipmentModel.Layer.createDyeable
(Identifier textureId, boolean dyeable) static EquipmentModel.Layer
EquipmentModel.Layer.createDyeableLeather
(Identifier textureId, boolean dyeable) Modifier and TypeMethodDescriptionEquipmentModel.getLayers
(EquipmentModel.LayerType layerType) EquipmentModel.layers()
Returns the value of thelayers
record component.Modifier and TypeMethodDescriptionEquipmentModel.Builder.addLayers
(EquipmentModel.LayerType layerType, EquipmentModel.Layer[] layers) ModifierConstructorDescription