Class EquipmentRenderer
java.lang.Object
net.minecraft.client.render.entity.equipment.EquipmentRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/entity/equipment/EquipmentRenderer
intermediary net/minecraft/class_10197
official gvo
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EquipmentModelLoader
private static final int
private final Function
<EquipmentRenderer.LayerTextureKey, Identifier> private final Function
<EquipmentRenderer.TrimSpriteKey, Sprite> -
Constructor Summary
ConstructorDescriptionEquipmentRenderer
(EquipmentModelLoader equipmentModelLoader, SpriteAtlasTexture armorTrimsAtlas) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getDyeColor
(EquipmentModel.Layer layer, int dyeColor) void
render
(EquipmentModel.LayerType layerType, Identifier modelId, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) void
render
(EquipmentModel.LayerType layerType, Identifier modelId, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, @Nullable Identifier texture)
-
Field Details
-
field_54178
private static final int field_54178- See Also:
- Mappings:
Namespace Name Mixin selector named field_54178
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;field_54178:I
intermediary field_54178
Lnet/minecraft/class_10197;field_54178:I
official a
Lgvo;a:I
-
equipmentModelLoader
- Mappings:
Namespace Name Mixin selector named equipmentModelLoader
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;equipmentModelLoader:Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;
intermediary field_54179
Lnet/minecraft/class_10197;field_54179:Lnet/minecraft/class_10201;
official b
Lgvo;b:Lhdr;
-
layerTextures
- Mappings:
Namespace Name Mixin selector named layerTextures
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;layerTextures:Ljava/util/function/Function;
intermediary field_54180
Lnet/minecraft/class_10197;field_54180:Ljava/util/function/Function;
official c
Lgvo;c:Ljava/util/function/Function;
-
trimSprites
- Mappings:
Namespace Name Mixin selector named trimSprites
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;trimSprites:Ljava/util/function/Function;
intermediary field_54181
Lnet/minecraft/class_10197;field_54181:Ljava/util/function/Function;
official d
Lgvo;d:Ljava/util/function/Function;
-
-
Constructor Details
-
EquipmentRenderer
public EquipmentRenderer(EquipmentModelLoader equipmentModelLoader, SpriteAtlasTexture armorTrimsAtlas) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;<init>(Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;Lnet/minecraft/client/texture/SpriteAtlasTexture;)V
intermediary <init>
Lnet/minecraft/class_10197;<init>(Lnet/minecraft/class_10201;Lnet/minecraft/class_1059;)V
official <init>
Lgvo;<init>(Lhdr;Lhbj;)V
-
-
Method Details
-
render
public void render(EquipmentModel.LayerType layerType, Identifier modelId, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;render(Lnet/minecraft/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/model/Model;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_64077
Lnet/minecraft/class_10197;method_64077(Lnet/minecraft/class_10186$class_10190;Lnet/minecraft/class_2960;Lnet/minecraft/class_3879;Lnet/minecraft/class_1799;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgvo;a(Ldfr$d;Lalz;Lgcg;Lcxo;Lfgr;Lglk;I)V
-
render
public void render(EquipmentModel.LayerType layerType, Identifier modelId, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, @Nullable @Nullable Identifier texture) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;render(Lnet/minecraft/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/model/Model;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/util/Identifier;)V
intermediary method_64078
Lnet/minecraft/class_10197;method_64078(Lnet/minecraft/class_10186$class_10190;Lnet/minecraft/class_2960;Lnet/minecraft/class_3879;Lnet/minecraft/class_1799;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_2960;)V
official a
Lgvo;a(Ldfr$d;Lalz;Lgcg;Lcxo;Lfgr;Lglk;ILalz;)V
-
getDyeColor
- Mappings:
Namespace Name Mixin selector named getDyeColor
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;getDyeColor(Lnet/minecraft/item/equipment/EquipmentModel$Layer;I)I
intermediary method_64076
Lnet/minecraft/class_10197;method_64076(Lnet/minecraft/class_10186$class_10189;I)I
official a
Lgvo;a(Ldfr$c;I)I
-