Class ArmorStandEntityRenderer

All Implemented Interfaces:
FeatureRendererContext<ArmorStandEntity,​ArmorStandArmorEntityModel>

@Environment(CLIENT) public class ArmorStandEntityRenderer extends LivingEntityRenderer<ArmorStandEntity,​ArmorStandArmorEntityModel>
Mappings:
Namespace Name
official eqz
intermediary net/minecraft/class_877
named net/minecraft/client/render/entity/ArmorStandEntityRenderer
  • Field Details

    • TEXTURE

      public static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Leqz;a:Lww;
      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

      public ArmorStandEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerw;<init>(Lerx$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

      public Identifier getTexture(ArmorStandEntity armorStandEntity)
      Specified by:
      getTexture in interface FeatureRendererContext<ArmorStandEntity,​ArmorStandArmorEntityModel>
      Specified by:
      getTexture in class EntityRenderer<ArmorStandEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Leqz;a(Lbgt;)Lww;
      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 class LivingEntityRenderer<ArmorStandEntity,​ArmorStandArmorEntityModel>
      Mappings:
      Namespace Name Mixin selector
      official a Leqz;a(Lbgt;Ldqk;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

      protected boolean hasLabel(ArmorStandEntity armorStandEntity)
      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 class LivingEntityRenderer<ArmorStandEntity,​ArmorStandArmorEntityModel>
      Mappings:
      Namespace Name Mixin selector
      official b Leqz;b(Lbgt;)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 class LivingEntityRenderer<ArmorStandEntity,​ArmorStandArmorEntityModel>
      Mappings:
      Namespace Name Mixin selector
      official a Leqz;a(Lbgt;ZZZ)Lenp;
      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;