Class ArmorStandEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<ArmorStandEntity>
net.minecraft.client.render.entity.LivingEntityRenderer<ArmorStandEntity,ArmorStandArmorEntityModel>
net.minecraft.client.render.entity.ArmorStandEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<ArmorStandEntity,
ArmorStandArmorEntityModel>
@Environment(CLIENT)
public class ArmorStandEntityRenderer
extends LivingEntityRenderer<ArmorStandEntity,ArmorStandArmorEntityModel>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/ArmorStandEntityRenderer
intermediary net/minecraft/class_877
official gjb
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable RenderLayer
getRenderLayer
(ArmorStandEntity armorStandEntity, boolean bool, boolean bool2, boolean bool3) Gets the render layer appropriate for rendering the passed entity.getTexture
(ArmorStandEntity armorStandEntity) protected boolean
hasLabel
(ArmorStandEntity armorStandEntity) Determines whether the passed entity should render with a nameplate above its head.protected void
setupTransforms
(ArmorStandEntity armorStandEntity, MatrixStack matrixStack, float float2, float float3, float float4, float float5) Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getShadowRadius, isShaking, isVisible, render, scale, shouldFlipUpsideDown
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, 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
Lgjb;a:Lakq;
-
-
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>
Lgkc;<init>(Lgkd$a;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<ArmorStandEntity,
ArmorStandArmorEntityModel> - Specified by:
getTexture
in classEntityRenderer<ArmorStandEntity>
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getTexture(Lnet/minecraft/entity/decoration/ArmorStandEntity;)Lnet/minecraft/util/Identifier;
intermediary method_3880
Lnet/minecraft/class_877;method_3880(Lnet/minecraft/class_1531;)Lnet/minecraft/class_2960;
official a
Lgjb;a(Lciu;)Lakq;
-
setupTransforms
protected void setupTransforms(ArmorStandEntity armorStandEntity, MatrixStack matrixStack, float float2, float float3, float float4, float float5) - Overrides:
setupTransforms
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named setupTransforms
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;setupTransforms(Lnet/minecraft/entity/decoration/ArmorStandEntity;Lnet/minecraft/client/util/math/MatrixStack;FFFF)V
intermediary method_3877
Lnet/minecraft/class_877;method_3877(Lnet/minecraft/class_1531;Lnet/minecraft/class_4587;FFFF)V
official a
Lgjb;a(Lciu;Lfbc;FFFF)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,
ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named hasLabel
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ArmorStandEntity;)Z
intermediary method_3878
Lnet/minecraft/class_877;method_3878(Lnet/minecraft/class_1531;)Z
official b
Lgjb;b(Lciu;)Z
-
getRenderLayer
@Nullable protected @Nullable RenderLayer getRenderLayer(ArmorStandEntity armorStandEntity, 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,
ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector named getRenderLayer
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getRenderLayer(Lnet/minecraft/entity/decoration/ArmorStandEntity;ZZZ)Lnet/minecraft/client/render/RenderLayer;
intermediary method_24301
Lnet/minecraft/class_877;method_24301(Lnet/minecraft/class_1531;ZZZ)Lnet/minecraft/class_1921;
official a
Lgjb;a(Lciu;ZZZ)Lgfb;
-