Class ArmorFeatureRenderer<S extends BipedEntityRenderState,M extends BipedEntityModel<S>,A extends BipedEntityModel<S>>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<S,M>
net.minecraft.client.render.entity.feature.ArmorFeatureRenderer<S,M,A>
@Environment(CLIENT)
public class ArmorFeatureRenderer<S extends BipedEntityRenderState,M extends BipedEntityModel<S>,A extends BipedEntityModel<S>>
extends FeatureRenderer<S,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/ArmorFeatureRendererintermediary net/minecraft/class_970official grm
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SpriteAtlasTextureprivate final Aprivate final Aprivate final Aprivate final A -
Constructor Summary
ConstructorsConstructorDescriptionArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, A babyInnerModel, A babyOuterModel, BakedModelManager bakedModelManager) ArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, BakedModelManager bakedModelManager) -
Method Summary
Modifier and TypeMethodDescriptionprivate AgetModel(S state, EquipmentSlot slot) voidrender(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) private voidrenderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ItemStack stack, EquipmentSlot armorSlot, int light, A model) private voidrenderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model, int color, Identifier texture) private voidrenderGlint(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model) private voidrenderTrim(RegistryEntry<ArmorMaterial> armorMaterial, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) protected voidsetVisible(A bipedModel, EquipmentSlot slot) private booleanusesInnerModel(EquipmentSlot slot) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, getTexture, render, renderModel
-
Field Details
-
innerModel
- Mappings:
Namespace Name Mixin selector named innerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;innerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary field_4830Lnet/minecraft/class_970;field_4830:Lnet/minecraft/class_572;official aLgrm;a:Lfxx;
-
outerModel
- Mappings:
Namespace Name Mixin selector named outerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;outerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary field_4831Lnet/minecraft/class_970;field_4831:Lnet/minecraft/class_572;official bLgrm;b:Lfxx;
-
babyInnerModel
- Mappings:
Namespace Name Mixin selector named babyInnerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;babyInnerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary field_53218Lnet/minecraft/class_970;field_53218:Lnet/minecraft/class_572;official cLgrm;c:Lfxx;
-
babyOuterModel
- Mappings:
Namespace Name Mixin selector named babyOuterModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;babyOuterModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary field_53219Lnet/minecraft/class_970;field_53219:Lnet/minecraft/class_572;official dLgrm;d:Lfxx;
-
armorTrimsAtlas
- Mappings:
Namespace Name Mixin selector named armorTrimsAtlasLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;armorTrimsAtlas:Lnet/minecraft/client/texture/SpriteAtlasTexture;intermediary field_42074Lnet/minecraft/class_970;field_42074:Lnet/minecraft/class_1059;official eLgrm;e:Lgxa;
-
-
Constructor Details
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, BakedModelManager bakedModelManager) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/model/BakedModelManager;)Vintermediary <init>Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_1092;)Vofficial <init>Lgrm;<init>(Lgpf;Lfxx;Lfxx;Lgzn;)V
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, A babyInnerModel, A babyOuterModel, BakedModelManager bakedModelManager) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/client/render/model/BakedModelManager;)Vintermediary <init>Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_1092;)Vofficial <init>Lgrm;<init>(Lgpf;Lfxx;Lfxx;Lfxx;Lfxx;Lgzn;)V
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) - Specified by:
renderin classFeatureRenderer<S extends BipedEntityRenderState,M extends BipedEntityModel<S>> - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/state/BipedEntityRenderState;FF)Vintermediary method_17157Lnet/minecraft/class_970;method_17157(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10034;FF)Vofficial aLgrm;a(Lfde;Lghg;ILgub;FF)V
-
renderArmor
private void renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ItemStack stack, EquipmentSlot armorSlot, int light, A model) - Mappings:
Namespace Name Mixin selector named renderArmorLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderArmor(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;ILnet/minecraft/client/render/entity/model/BipedEntityModel;)Vintermediary method_4169Lnet/minecraft/class_970;method_4169(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;ILnet/minecraft/class_572;)Vofficial aLgrm;a(Lfde;Lghg;Lcvp;Lbtw;ILfxx;)V
-
setVisible
- Mappings:
Namespace Name Mixin selector named setVisibleLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;setVisible(Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/entity/EquipmentSlot;)Vintermediary method_4170Lnet/minecraft/class_970;method_4170(Lnet/minecraft/class_572;Lnet/minecraft/class_1304;)Vofficial aLgrm;a(Lfxx;Lbtw;)V
-
renderArmorParts
private void renderArmorParts(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model, int color, Identifier texture) - Mappings:
Namespace Name Mixin selector named renderArmorPartsLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderArmorParts(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/model/BipedEntityModel;ILnet/minecraft/util/Identifier;)Vintermediary method_23192Lnet/minecraft/class_970;method_23192(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;ILnet/minecraft/class_2960;)Vofficial aLgrm;a(Lfde;Lghg;ILfxx;ILalc;)V
-
renderTrim
private void renderTrim(RegistryEntry<ArmorMaterial> armorMaterial, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) - Mappings:
Namespace Name Mixin selector named renderTrimLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderTrim(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/trim/ArmorTrim;Lnet/minecraft/client/render/entity/model/BipedEntityModel;Z)Vintermediary method_48482Lnet/minecraft/class_970;method_48482(Lnet/minecraft/class_6880;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_8053;Lnet/minecraft/class_572;Z)Vofficial aLgrm;a(Ljn;Lfde;Lghg;ILcxr;Lfxx;Z)V
-
renderGlint
private void renderGlint(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, A model) - Mappings:
Namespace Name Mixin selector named renderGlintLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;renderGlint(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/model/BipedEntityModel;)Vintermediary method_52224Lnet/minecraft/class_970;method_52224(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_572;)Vofficial aLgrm;a(Lfde;Lghg;ILfxx;)V
-
getModel
- Mappings:
Namespace Name Mixin selector named getModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;getModel(Lnet/minecraft/client/render/entity/state/BipedEntityRenderState;Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/client/render/entity/model/BipedEntityModel;intermediary method_4172Lnet/minecraft/class_970;method_4172(Lnet/minecraft/class_10034;Lnet/minecraft/class_1304;)Lnet/minecraft/class_572;official aLgrm;a(Lgub;Lbtw;)Lfxx;
-
usesInnerModel
- Mappings:
Namespace Name Mixin selector named usesInnerModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesInnerModel(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_4173Lnet/minecraft/class_970;method_4173(Lnet/minecraft/class_1304;)Zofficial aLgrm;a(Lbtw;)Z
-