Class ArmorStandEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<ArmorStandEntity,ArmorStandEntityRenderState>
net.minecraft.client.render.entity.LivingEntityRenderer<ArmorStandEntity,ArmorStandEntityRenderState,ArmorStandArmorEntityModel>
net.minecraft.client.render.entity.ArmorStandEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<ArmorStandEntityRenderState,
ArmorStandArmorEntityModel>
@Environment(CLIENT)
public class ArmorStandEntityRenderer
extends LivingEntityRenderer<ArmorStandEntity,ArmorStandEntityRenderState,ArmorStandArmorEntityModel>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/ArmorStandEntityRenderer
intermediary net/minecraft/class_877
official gqm
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ArmorStandArmorEntityModel
private final ArmorStandArmorEntityModel
static final Identifier
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, itemRenderer, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable RenderLayer
getRenderLayer
(ArmorStandEntityRenderState armorStandEntityRenderState, boolean bool, boolean bool2, boolean bool3) Gets the render layer appropriate for rendering the passed entity.getTexture
(ArmorStandEntityRenderState armorStandEntityRenderState) protected boolean
hasLabel
(ArmorStandEntity armorStandEntity, double double2) Determines whether the passed entity should render with a nameplate above its head.void
render
(ArmorStandEntityRenderState armorStandEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) protected void
setupTransforms
(ArmorStandEntityRenderState armorStandEntityRenderState, MatrixStack matrixStack, float float2, float float3) void
updateRenderState
(ArmorStandEntity armorStandEntity, ArmorStandEntityRenderState armorStandEntityRenderState, float float2) Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getBoundingBox, getMixColor, getModel, getOverlay, getShadowRadius, isShaking, isVisible, method_3919, scale, shouldFlipUpsideDown, shouldRenderFeatures
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBlockLight, getDisplayName, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent, shouldRender
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURE
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_4642
Lnet/minecraft/class_877;field_4642:Lnet/minecraft/class_2960;
official a
Lgqm;a:Lalz;
-
mainModel
- Mappings:
Namespace Name Mixin selector named mainModel
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;mainModel:Lnet/minecraft/client/render/entity/model/ArmorStandArmorEntityModel;
intermediary field_53179
Lnet/minecraft/class_877;field_53179:Lnet/minecraft/class_548;
official b
Lgqm;b:Lgai;
-
smallModel
- Mappings:
Namespace Name Mixin selector named smallModel
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;smallModel:Lnet/minecraft/client/render/entity/model/ArmorStandArmorEntityModel;
intermediary field_53180
Lnet/minecraft/class_877;field_53180:Lnet/minecraft/class_548;
official k
Lgqm;k:Lgai;
-
-
Constructor Details
-
ArmorStandEntityRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
official <init>
Lgro;<init>(Lgrp$a;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState, ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getTexture(Lnet/minecraft/client/render/entity/state/ArmorStandEntityRenderState;)Lnet/minecraft/util/Identifier;
intermediary method_3880
Lnet/minecraft/class_877;method_3880(Lnet/minecraft/class_9998;)Lnet/minecraft/class_2960;
official a
Lgqm;a(Lgxa;)Lalz;
-
createRenderState
- Specified by:
createRenderState
in classEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderState
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/ArmorStandEntityRenderState;
intermediary method_62374
Lnet/minecraft/class_877;method_62374()Lnet/minecraft/class_9998;
official a
Lgqm;a()Lgxa;
-
updateRenderState
public void updateRenderState(ArmorStandEntity armorStandEntity, ArmorStandEntityRenderState armorStandEntityRenderState, float float2) - Overrides:
updateRenderState
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState, ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named updateRenderState
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;updateRenderState(Lnet/minecraft/entity/decoration/ArmorStandEntity;Lnet/minecraft/client/render/entity/state/ArmorStandEntityRenderState;F)V
intermediary method_62375
Lnet/minecraft/class_877;method_62375(Lnet/minecraft/class_1531;Lnet/minecraft/class_9998;F)V
official a
Lgqm;a(Lclp;Lgxa;F)V
-
render
public void render(ArmorStandEntityRenderState armorStandEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState, ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;render(Lnet/minecraft/client/render/entity/state/ArmorStandEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_62376
Lnet/minecraft/class_877;method_62376(Lnet/minecraft/class_9998;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgqm;a(Lgxa;Lfgr;Lglk;I)V
-
setupTransforms
protected void setupTransforms(ArmorStandEntityRenderState armorStandEntityRenderState, MatrixStack matrixStack, float float2, float float3) - Overrides:
setupTransforms
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState, ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named setupTransforms
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;setupTransforms(Lnet/minecraft/client/render/entity/state/ArmorStandEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;FF)V
intermediary method_3877
Lnet/minecraft/class_877;method_3877(Lnet/minecraft/class_9998;Lnet/minecraft/class_4587;FF)V
official a
Lgqm;a(Lgxa;Lfgr;FF)V
-
hasLabel
Description copied from class:EntityRenderer
Determines whether the passed entity should render with a nameplate above its head.Checks for a custom nametag on living entities, and for teams/team visibilities for players.
- Overrides:
hasLabel
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState, ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named hasLabel
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ArmorStandEntity;D)Z
intermediary method_3878
Lnet/minecraft/class_877;method_3878(Lnet/minecraft/class_1531;D)Z
official a
Lgqm;a(Lclp;D)Z
-
getRenderLayer
@Nullable protected @Nullable RenderLayer getRenderLayer(ArmorStandEntityRenderState armorStandEntityRenderState, boolean bool, boolean bool2, boolean bool3) Description copied from class:LivingEntityRenderer
Gets the render layer appropriate for rendering the passed entity. Returns null if the entity should not be rendered.- Overrides:
getRenderLayer
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandEntityRenderState, ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named getRenderLayer
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getRenderLayer(Lnet/minecraft/client/render/entity/state/ArmorStandEntityRenderState;ZZZ)Lnet/minecraft/client/render/RenderLayer;
intermediary method_24301
Lnet/minecraft/class_877;method_24301(Lnet/minecraft/class_9998;ZZZ)Lnet/minecraft/class_1921;
official a
Lgqm;a(Lgxa;ZZZ)Lglu;
-