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 gwe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final record
private static final record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EquipmentModelLoader
private static final int
private final Function
<EquipmentRenderer.LayerTextureKey, Identifier> private final Function
<EquipmentRenderer.TrimSpriteKey, Sprite> -
Constructor Summary
ConstructorsConstructorDescriptionEquipmentRenderer
(EquipmentModelLoader equipmentModelLoader, SpriteAtlasTexture armorTrimsAtlas) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getDyeColor
(EquipmentModel.Layer layer, int dyeColor) void
render
(EquipmentModel.LayerType layerType, RegistryKey<EquipmentAsset> assetKey, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) void
render
(EquipmentModel.LayerType layerType, RegistryKey<EquipmentAsset> assetKey, 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
Lgwe;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
Lgwe;b:Lhgy;
-
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
Lgwe;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
Lgwe;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>
Lgwe;<init>(Lhgy;Lhes;)V
-
-
Method Details
-
render
public void render(EquipmentModel.LayerType layerType, RegistryKey<EquipmentAsset> assetKey, 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/client/render/entity/equipment/EquipmentModel$LayerType;Lnet/minecraft/registry/RegistryKey;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_5321;Lnet/minecraft/class_3879;Lnet/minecraft/class_1799;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgwe;a(Lhgz$d;Laku;Lgcx;Lcwq;Lffv;Lglz;I)V
-
render
public void render(EquipmentModel.LayerType layerType, RegistryKey<EquipmentAsset> assetKey, 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/client/render/entity/equipment/EquipmentModel$LayerType;Lnet/minecraft/registry/RegistryKey;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_5321;Lnet/minecraft/class_3879;Lnet/minecraft/class_1799;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_2960;)V
official a
Lgwe;a(Lhgz$d;Laku;Lgcx;Lcwq;Lffv;Lglz;ILakv;)V
-
getDyeColor
- Mappings:
Namespace Name Mixin selector named getDyeColor
Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;getDyeColor(Lnet/minecraft/client/render/entity/equipment/EquipmentModel$Layer;I)I
intermediary method_64076
Lnet/minecraft/class_10197;method_64076(Lnet/minecraft/class_10186$class_10189;I)I
official a
Lgwe;a(Lhgz$c;I)I
-