Class ArmorStandEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
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 official fnx
intermediary net/minecraft/class_877
named net/minecraft/client/render/entity/ArmorStandEntityRenderer
-
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) Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, 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 official a
Lfnx;a:Lacq;
intermediary field_4642
Lnet/minecraft/class_877;field_4642:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ArmorStandEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lfox;<init>(Lfoy$a;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<ArmorStandEntity,
ArmorStandArmorEntityModel> - Specified by:
getTexture
in classEntityRenderer<ArmorStandEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfnx;a(Lbux;)Lacq;
intermediary method_3880
Lnet/minecraft/class_877;method_3880(Lnet/minecraft/class_1531;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getTexture(Lnet/minecraft/entity/decoration/ArmorStandEntity;)Lnet/minecraft/util/Identifier;
-
setupTransforms
protected void setupTransforms(ArmorStandEntity armorStandEntity, MatrixStack matrixStack, float float2, float float3, float float4) - Overrides:
setupTransforms
in classLivingEntityRenderer<ArmorStandEntity,
ArmorStandArmorEntityModel> - Mappings:
Namespace Name Mixin selector official a
Lfnx;a(Lbux;Leij;FFF)V
intermediary method_3877
Lnet/minecraft/class_877;method_3877(Lnet/minecraft/class_1531;Lnet/minecraft/class_4587;FFF)V
named setupTransforms
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;setupTransforms(Lnet/minecraft/entity/decoration/ArmorStandEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)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 official b
Lfnx;b(Lbux;)Z
intermediary method_3878
Lnet/minecraft/class_877;method_3878(Lnet/minecraft/class_1531;)Z
named hasLabel
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ArmorStandEntity;)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 official a
Lfnx;a(Lbux;ZZZ)Lfkf;
intermediary method_24301
Lnet/minecraft/class_877;method_24301(Lnet/minecraft/class_1531;ZZZ)Lnet/minecraft/class_1921;
named getRenderLayer
Lnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getRenderLayer(Lnet/minecraft/entity/decoration/ArmorStandEntity;ZZZ)Lnet/minecraft/client/render/RenderLayer;
-