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 gwj
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Aprivate final Aprivate final EquipmentRendererprivate final Aprivate final A -
Constructor Summary
ConstructorsConstructorDescriptionArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, A babyInnerModel, A babyOuterModel, EquipmentRenderer equipmentRenderer) ArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, EquipmentRenderer equipmentRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprivate AgetModel(S state, EquipmentSlot slot) private static booleanhasModel(EquippableComponent component, EquipmentSlot slot) static booleanhasModel(ItemStack stack, EquipmentSlot slot) voidrender(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) private voidrenderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ItemStack stack, EquipmentSlot slot, int light, A armorModel) protected voidsetVisible(A bipedModel, EquipmentSlot slot) private booleanusesInnerModel(EquipmentSlot slot) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, 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 aLgwj;a:Lgcp;
-
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 bLgwj;b:Lgcp;
-
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 cLgwj;c:Lgcp;
-
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 dLgwj;d:Lgcp;
-
equipmentRenderer
- Mappings:
Namespace Name Mixin selector named equipmentRendererLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;equipmentRenderer:Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;intermediary field_54183Lnet/minecraft/class_970;field_54183:Lnet/minecraft/class_10197;official eLgwj;e:Lgwe;
-
-
Constructor Details
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, EquipmentRenderer equipmentRenderer) - 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/equipment/EquipmentRenderer;)Vintermediary <init>Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_10197;)Vofficial <init>Lgwj;<init>(Lguc;Lgcp;Lgcp;Lgwe;)V
-
ArmorFeatureRenderer
public ArmorFeatureRenderer(FeatureRendererContext<S, M> context, A innerModel, A outerModel, A babyInnerModel, A babyOuterModel, EquipmentRenderer equipmentRenderer) - 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/entity/equipment/EquipmentRenderer;)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_10197;)Vofficial <init>Lgwj;<init>(Lguc;Lgcp;Lgcp;Lgcp;Lgcp;Lgwe;)V
-
-
Method Details
-
hasModel
- Mappings:
Namespace Name Mixin selector named hasModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;hasModel(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_64081Lnet/minecraft/class_970;method_64081(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Zofficial aLgwj;a(Lcwq;Lbuu;)Z
-
hasModel
- Mappings:
Namespace Name Mixin selector named hasModelLnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;hasModel(Lnet/minecraft/component/type/EquippableComponent;Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_64082Lnet/minecraft/class_970;method_64082(Lnet/minecraft/class_10192;Lnet/minecraft/class_1304;)Zofficial aLgwj;a(Ldev;Lbuu;)Z
-
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 aLgwj;a(Lffv;Lglz;ILgzc;FF)V
-
renderArmor
private void renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ItemStack stack, EquipmentSlot slot, int light, A armorModel) - 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 aLgwj;a(Lffv;Lglz;Lcwq;Lbuu;ILgcp;)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 aLgwj;a(Lgcp;Lbuu;)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 aLgwj;a(Lgzc;Lbuu;)Lgcp;
-
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 aLgwj;a(Lbuu;)Z
-