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/ArmorFeatureRenderer
intermediary net/minecraft/class_970
official gvt
-
Field Summary
Modifier and TypeFieldDescriptionprivate final A
private final A
private final EquipmentRenderer
private final A
private final A
-
Constructor Summary
ConstructorDescriptionArmorFeatureRenderer
(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 A
getModel
(S state, EquipmentSlot slot) private static boolean
hasModel
(EquippableComponent component, EquipmentSlot slot) static boolean
hasModel
(ItemStack stack, EquipmentSlot slot) void
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) private void
renderArmor
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ItemStack stack, EquipmentSlot slot, int light, A armorModel) protected void
setVisible
(A bipedModel, EquipmentSlot slot) private boolean
usesInnerModel
(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 innerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;innerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
intermediary field_4830
Lnet/minecraft/class_970;field_4830:Lnet/minecraft/class_572;
official a
Lgvt;a:Lgby;
-
outerModel
- Mappings:
Namespace Name Mixin selector named outerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;outerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
intermediary field_4831
Lnet/minecraft/class_970;field_4831:Lnet/minecraft/class_572;
official b
Lgvt;b:Lgby;
-
babyInnerModel
- Mappings:
Namespace Name Mixin selector named babyInnerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;babyInnerModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
intermediary field_53218
Lnet/minecraft/class_970;field_53218:Lnet/minecraft/class_572;
official c
Lgvt;c:Lgby;
-
babyOuterModel
- Mappings:
Namespace Name Mixin selector named babyOuterModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;babyOuterModel:Lnet/minecraft/client/render/entity/model/BipedEntityModel;
intermediary field_53219
Lnet/minecraft/class_970;field_53219:Lnet/minecraft/class_572;
official d
Lgvt;d:Lgby;
-
equipmentRenderer
- Mappings:
Namespace Name Mixin selector named equipmentRenderer
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;equipmentRenderer:Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;
intermediary field_54183
Lnet/minecraft/class_970;field_54183:Lnet/minecraft/class_10197;
official e
Lgvt;e:Lgvo;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_970;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_572;Lnet/minecraft/class_572;Lnet/minecraft/class_10197;)V
official <init>
Lgvt;<init>(Lgtm;Lgby;Lgby;Lgvo;)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;)V
intermediary <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;)V
official <init>
Lgvt;<init>(Lgtm;Lgby;Lgby;Lgby;Lgby;Lgvo;)V
-
-
Method Details
-
hasModel
- Mappings:
Namespace Name Mixin selector named hasModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;hasModel(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_64081
Lnet/minecraft/class_970;method_64081(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Z
official a
Lgvt;a(Lcxo;Lbvr;)Z
-
hasModel
- Mappings:
Namespace Name Mixin selector named hasModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;hasModel(Lnet/minecraft/component/type/EquippableComponent;Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_64082
Lnet/minecraft/class_970;method_64082(Lnet/minecraft/class_10192;Lnet/minecraft/class_1304;)Z
official a
Lgvt;a(Ldft;Lbvr;)Z
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) - Specified by:
render
in classFeatureRenderer<S extends BipedEntityRenderState,
M extends BipedEntityModel<S>> - Mappings:
Namespace Name Mixin selector named render
Lnet/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)V
intermediary method_17157
Lnet/minecraft/class_970;method_17157(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10034;FF)V
official a
Lgvt;a(Lfgr;Lglk;ILgyk;FF)V
-
renderArmor
private void renderArmor(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ItemStack stack, EquipmentSlot slot, int light, A armorModel) - Mappings:
Namespace Name Mixin selector named renderArmor
Lnet/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;)V
intermediary method_4169
Lnet/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;)V
official a
Lgvt;a(Lfgr;Lglk;Lcxo;Lbvr;ILgby;)V
-
setVisible
- Mappings:
Namespace Name Mixin selector named setVisible
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;setVisible(Lnet/minecraft/client/render/entity/model/BipedEntityModel;Lnet/minecraft/entity/EquipmentSlot;)V
intermediary method_4170
Lnet/minecraft/class_970;method_4170(Lnet/minecraft/class_572;Lnet/minecraft/class_1304;)V
official a
Lgvt;a(Lgby;Lbvr;)V
-
getModel
- Mappings:
Namespace Name Mixin selector named getModel
Lnet/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_4172
Lnet/minecraft/class_970;method_4172(Lnet/minecraft/class_10034;Lnet/minecraft/class_1304;)Lnet/minecraft/class_572;
official a
Lgvt;a(Lgyk;Lbvr;)Lgby;
-
usesInnerModel
- Mappings:
Namespace Name Mixin selector named usesInnerModel
Lnet/minecraft/client/render/entity/feature/ArmorFeatureRenderer;usesInnerModel(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_4173
Lnet/minecraft/class_970;method_4173(Lnet/minecraft/class_1304;)Z
official a
Lgvt;a(Lbvr;)Z
-