Class LivingEntityRenderer<T extends LivingEntity>

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T>
Direct Known Subclasses:
ArmorStandEntityRenderer, MobEntityRenderer, PlayerEntityRenderer

@Environment(CLIENT)
public abstract class LivingEntityRenderer<T extends LivingEntity>
extends EntityRenderer<T>
Mappings:
Namespace Name
official bjl
intermediary net/minecraft/class_1154
named net/minecraft/client/render/entity/LivingEntityRenderer
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_4894 Lnet/minecraft/class_1154;field_4894:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/render/entity/LivingEntityRenderer;LOGGER:Lorg/apache/logging/log4j/Logger;
    • TEX

      private static final NativeImageBackedTexture TEX
      Mappings:
      Namespace Name Mixin selector
      official e Lbjl;e:Lblz;
      intermediary field_4895 Lnet/minecraft/class_1154;field_4895:Lnet/minecraft/class_1219;
      named TEX Lnet/minecraft/client/render/entity/LivingEntityRenderer;TEX:Lnet/minecraft/client/texture/NativeImageBackedTexture;
    • model

      protected EntityModel model
      Mappings:
      Namespace Name Mixin selector
      official f Lbjl;f:Lbbo;
      intermediary field_4896 Lnet/minecraft/class_1154;field_4896:Lnet/minecraft/class_871;
      named model Lnet/minecraft/client/render/entity/LivingEntityRenderer;model:Lnet/minecraft/client/render/entity/model/EntityModel;
    • buffer

      protected FloatBuffer buffer
      Mappings:
      Namespace Name Mixin selector
      official g Lbjl;g:Ljava/nio/FloatBuffer;
      intermediary field_4897 Lnet/minecraft/class_1154;field_4897:Ljava/nio/FloatBuffer;
      named buffer Lnet/minecraft/client/render/entity/LivingEntityRenderer;buffer:Ljava/nio/FloatBuffer;
    • features

      protected List<FeatureRenderer<T extends LivingEntity>> features
      Mappings:
      Namespace Name Mixin selector
      official h Lbjl;h:Ljava/util/List;
      intermediary field_4898 Lnet/minecraft/class_1154;field_4898:Ljava/util/List;
      named features Lnet/minecraft/client/render/entity/LivingEntityRenderer;features:Ljava/util/List;
    • field_4899

      protected boolean field_4899
      Mappings:
      Namespace Name Mixin selector
      official i Lbjl;i:Z
      intermediary field_4899 Lnet/minecraft/class_1154;field_4899:Z
      named field_4899 Lnet/minecraft/client/render/entity/LivingEntityRenderer;field_4899:Z
  • Constructor Details

    • LivingEntityRenderer

      public LivingEntityRenderer​(EntityRenderDispatcher dispatcher, EntityModel model, float shadowSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjl;<init>(Lbiu;Lbbo;F)V
      intermediary <init> Lnet/minecraft/class_1154;<init>(Lnet/minecraft/class_1135;Lnet/minecraft/class_871;F)V
      named <init> Lnet/minecraft/client/render/entity/LivingEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRenderDispatcher;Lnet/minecraft/client/render/entity/model/EntityModel;F)V
  • Method Details

    • addFeature

      protected <V extends LivingEntity,​ U extends FeatureRenderer<V>> boolean addFeature​(U u)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lblb;)Z
      intermediary method_4001 Lnet/minecraft/class_1154;method_4001(Lnet/minecraft/class_1198;)Z
      named addFeature Lnet/minecraft/client/render/entity/LivingEntityRenderer;addFeature(Lnet/minecraft/client/render/entity/feature/FeatureRenderer;)Z
    • removeFeature

      protected <V extends LivingEntity,​ U extends FeatureRenderer<V>> boolean removeFeature​(U u)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjl;b(Lblb;)Z
      intermediary method_4013 Lnet/minecraft/class_1154;method_4013(Lnet/minecraft/class_1198;)Z
      named removeFeature Lnet/minecraft/client/render/entity/LivingEntityRenderer;removeFeature(Lnet/minecraft/client/render/entity/feature/FeatureRenderer;)Z
    • getModel

      public EntityModel getModel()
      Mappings:
      Namespace Name Mixin selector
      official b Lbjl;b()Lbbo;
      intermediary method_4012 Lnet/minecraft/class_1154;method_4012()Lnet/minecraft/class_871;
      named getModel Lnet/minecraft/client/render/entity/LivingEntityRenderer;getModel()Lnet/minecraft/client/render/entity/model/EntityModel;
    • method_4000

      protected float method_4000​(float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(FFF)F
      intermediary method_4000 Lnet/minecraft/class_1154;method_4000(FFF)F
      named method_4000 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4000(FFF)F
    • translate

      public void translate()
      Mappings:
      Namespace Name Mixin selector
      official C_ Lbjl;C_()V
      intermediary method_3999 Lnet/minecraft/class_1154;method_3999()V
      named translate Lnet/minecraft/client/render/entity/LivingEntityRenderer;translate()V
    • render

      public void render​(T t, double double2, double double3, double double4, float float2, float float3)
      Overrides:
      render in class EntityRenderer<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;DDDFF)V
      intermediary method_4004 Lnet/minecraft/class_1154;method_4004(Lnet/minecraft/class_1752;DDDFF)V
      named render Lnet/minecraft/client/render/entity/LivingEntityRenderer;render(Lnet/minecraft/entity/LivingEntity;DDDFF)V
    • method_4017

      protected boolean method_4017​(T t)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjl;c(Lpr;)Z
      intermediary method_4017 Lnet/minecraft/class_1154;method_4017(Lnet/minecraft/class_1752;)Z
      named method_4017 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4017(Lnet/minecraft/entity/LivingEntity;)Z
    • method_4020

      protected void method_4020()
      Mappings:
      Namespace Name Mixin selector
      official e Lbjl;e()V
      intermediary method_4020 Lnet/minecraft/class_1154;method_4020()V
      named method_4020 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4020()V
    • method_4008

      protected void method_4008​(T t, float float2, float float3, float float4, float float5, float float6, float float7)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;FFFFFF)V
      intermediary method_4008 Lnet/minecraft/class_1154;method_4008(Lnet/minecraft/class_1752;FFFFFF)V
      named method_4008 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4008(Lnet/minecraft/entity/LivingEntity;FFFFFF)V
    • method_4018

      protected boolean method_4018​(T t, float float2)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjl;c(Lpr;F)Z
      intermediary method_4018 Lnet/minecraft/class_1154;method_4018(Lnet/minecraft/class_1752;F)Z
      named method_4018 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4018(Lnet/minecraft/entity/LivingEntity;F)Z
    • method_4010

      protected boolean method_4010​(T t, float float2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;FZ)Z
      intermediary method_4010 Lnet/minecraft/class_1154;method_4010(Lnet/minecraft/class_1752;FZ)Z
      named method_4010 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4010(Lnet/minecraft/entity/LivingEntity;FZ)Z
    • method_4021

      protected void method_4021()
      Mappings:
      Namespace Name Mixin selector
      official f Lbjl;f()V
      intermediary method_4021 Lnet/minecraft/class_1154;method_4021()V
      named method_4021 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4021()V
    • method_4003

      protected void method_4003​(T t, double double2, double double3, double double4)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;DDD)V
      intermediary method_4003 Lnet/minecraft/class_1154;method_4003(Lnet/minecraft/class_1752;DDD)V
      named method_4003 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4003(Lnet/minecraft/entity/LivingEntity;DDD)V
    • method_4007

      protected void method_4007​(T squid, float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;FFF)V
      intermediary method_4007 Lnet/minecraft/class_1154;method_4007(Lnet/minecraft/class_1752;FFF)V
      named method_4007 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4007(Lnet/minecraft/entity/LivingEntity;FFF)V
    • method_4019

      protected float method_4019​(T t, float float2)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjl;d(Lpr;F)F
      intermediary method_4019 Lnet/minecraft/class_1154;method_4019(Lnet/minecraft/class_1752;F)F
      named method_4019 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4019(Lnet/minecraft/entity/LivingEntity;F)F
    • method_4016

      protected float method_4016​(T entity, float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjl;b(Lpr;F)F
      intermediary method_4016 Lnet/minecraft/class_1154;method_4016(Lnet/minecraft/class_1752;F)F
      named method_4016 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4016(Lnet/minecraft/entity/LivingEntity;F)F
    • renderFeatures

      protected void renderFeatures​(T t, float float2, float float3, float float4, float float5, float float6, float float7, float float8)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;FFFFFFF)V
      intermediary method_4009 Lnet/minecraft/class_1154;method_4009(Lnet/minecraft/class_1752;FFFFFFF)V
      named renderFeatures Lnet/minecraft/client/render/entity/LivingEntityRenderer;renderFeatures(Lnet/minecraft/entity/LivingEntity;FFFFFFF)V
    • method_4014

      protected float method_4014​(T entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjl;b(Lpr;)F
      intermediary method_4014 Lnet/minecraft/class_1154;method_4014(Lnet/minecraft/class_1752;)F
      named method_4014 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4014(Lnet/minecraft/entity/LivingEntity;)F
    • method_4006

      protected int method_4006​(T t, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;FF)I
      intermediary method_4006 Lnet/minecraft/class_1154;method_4006(Lnet/minecraft/class_1752;FF)I
      named method_4006 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4006(Lnet/minecraft/entity/LivingEntity;FF)I
    • scale

      protected void scale​(T skeleton, float f)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;F)V
      intermediary method_4005 Lnet/minecraft/class_1154;method_4005(Lnet/minecraft/class_1752;F)V
      named scale Lnet/minecraft/client/render/entity/LivingEntityRenderer;scale(Lnet/minecraft/entity/LivingEntity;F)V
    • method_3908

      public void method_3908​(T t, double double2, double double3, double double4)
      Overrides:
      method_3908 in class EntityRenderer<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Lbjl;b(Lpr;DDD)V
      intermediary method_4015 Lnet/minecraft/class_1154;method_4015(Lnet/minecraft/class_1752;DDD)V
      named method_3908 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_3908(Lnet/minecraft/entity/LivingEntity;DDD)V
    • hasLabel

      protected boolean hasLabel​(T t)
      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 EntityRenderer<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Lpr;)Z
      intermediary method_4002 Lnet/minecraft/class_1154;method_4002(Lnet/minecraft/class_1752;)Z
      named hasLabel Lnet/minecraft/client/render/entity/LivingEntityRenderer;hasLabel(Lnet/minecraft/entity/LivingEntity;)Z
    • method_4011

      public void method_4011​(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjl;a(Z)V
      intermediary method_4011 Lnet/minecraft/class_1154;method_4011(Z)V
      named method_4011 Lnet/minecraft/client/render/entity/LivingEntityRenderer;method_4011(Z)V