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 ellintermediary net/minecraft/class_877named net/minecraft/client/render/entity/ArmorStandEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description static IdentifierTEXTUREFields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, modelFields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius -
Constructor Summary
Constructors Constructor Description ArmorStandEntityRenderer(EntityRendererFactory.Context ctx) -
Method Summary
Modifier and Type Method Description protected RenderLayergetRenderLayer(ArmorStandEntity armorStandEntity, boolean bool, boolean bool2, boolean bool3)Gets the render layer appropriate for rendering the passed entity.IdentifiergetTexture(ArmorStandEntity armorStandEntity)protected booleanhasLabel(ArmorStandEntity armorStandEntity)Determines whether the passed entity should render with a nameplate above its head.protected voidsetupTransforms(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, scaleMethods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, renderLabelIfPresent, shouldRender
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official aLell;a:Lwb;intermediary field_4642Lnet/minecraft/class_877;field_4642:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/render/entity/ArmorStandEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ArmorStandEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lemi;<init>(Lemj$a;)Vintermediary <init>Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)Vnamed <init>Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
getTexture
- Specified by:
getTexturein interfaceFeatureRendererContext<ArmorStandEntity,ArmorStandArmorEntityModel>- Specified by:
getTexturein classEntityRenderer<ArmorStandEntity>- Mappings:
Namespace Name Mixin selector official aLell;a(Lbec;)Lwb;intermediary method_3880Lnet/minecraft/class_877;method_3880(Lnet/minecraft/class_1531;)Lnet/minecraft/class_2960;named getTextureLnet/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:
setupTransformsin classLivingEntityRenderer<ArmorStandEntity,ArmorStandArmorEntityModel>- Mappings:
Namespace Name Mixin selector official aLell;a(Lbec;Ldlr;FFF)Vintermediary method_3877Lnet/minecraft/class_877;method_3877(Lnet/minecraft/class_1531;Lnet/minecraft/class_4587;FFF)Vnamed setupTransformsLnet/minecraft/client/render/entity/ArmorStandEntityRenderer;setupTransforms(Lnet/minecraft/entity/decoration/ArmorStandEntity;Lnet/minecraft/client/util/math/MatrixStack;FFF)V
-
hasLabel
Description copied from class:EntityRendererDetermines 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:
hasLabelin classLivingEntityRenderer<ArmorStandEntity,ArmorStandArmorEntityModel>- Mappings:
Namespace Name Mixin selector official bLell;b(Lbec;)Zintermediary method_3878Lnet/minecraft/class_877;method_3878(Lnet/minecraft/class_1531;)Znamed hasLabelLnet/minecraft/client/render/entity/ArmorStandEntityRenderer;hasLabel(Lnet/minecraft/entity/decoration/ArmorStandEntity;)Z
-
getRenderLayer
@Nullable protected RenderLayer getRenderLayer(ArmorStandEntity armorStandEntity, boolean bool, boolean bool2, boolean bool3)Description copied from class:LivingEntityRendererGets the render layer appropriate for rendering the passed entity. Returns null if the entity should not be rendered.- Overrides:
getRenderLayerin classLivingEntityRenderer<ArmorStandEntity,ArmorStandArmorEntityModel>- Mappings:
Namespace Name Mixin selector official aLell;a(Lbec;ZZZ)Lehy;intermediary method_24301Lnet/minecraft/class_877;method_24301(Lnet/minecraft/class_1531;ZZZ)Lnet/minecraft/class_1921;named getRenderLayerLnet/minecraft/client/render/entity/ArmorStandEntityRenderer;getRenderLayer(Lnet/minecraft/entity/decoration/ArmorStandEntity;ZZZ)Lnet/minecraft/client/render/RenderLayer;
-