Class MobEntityRenderer<T extends MobEntity,M extends EntityModel<T>>

All Implemented Interfaces:
FeatureRendererContext<T,M>
Direct Known Subclasses:
AxolotlEntityRenderer, BatEntityRenderer, BeeEntityRenderer, BipedEntityRenderer, BlazeEntityRenderer, CatEntityRenderer, ChickenEntityRenderer, CodEntityRenderer, CowEntityRenderer, CreeperEntityRenderer, DolphinEntityRenderer, EndermanEntityRenderer, EndermiteEntityRenderer, FoxEntityRenderer, GhastEntityRenderer, GiantEntityRenderer, GoatEntityRenderer, GuardianEntityRenderer, HoglinEntityRenderer, HorseBaseEntityRenderer, IllagerEntityRenderer, IronGolemEntityRenderer, LlamaEntityRenderer, MagmaCubeEntityRenderer, MooshroomEntityRenderer, OcelotEntityRenderer, PandaEntityRenderer, ParrotEntityRenderer, PhantomEntityRenderer, PigEntityRenderer, PolarBearEntityRenderer, PufferfishEntityRenderer, RabbitEntityRenderer, RavagerEntityRenderer, SalmonEntityRenderer, SheepEntityRenderer, ShulkerEntityRenderer, SilverfishEntityRenderer, SlimeEntityRenderer, SnowGolemEntityRenderer, SpiderEntityRenderer, SquidEntityRenderer, StriderEntityRenderer, TropicalFishEntityRenderer, TurtleEntityRenderer, VillagerEntityRenderer, WanderingTraderEntityRenderer, WitchEntityRenderer, WitherEntityRenderer, WolfEntityRenderer, ZoglinEntityRenderer

@Environment(CLIENT) public abstract class MobEntityRenderer<T extends MobEntity,M extends EntityModel<T>> extends LivingEntityRenderer<T,M>
Mappings:
Namespace Name
official etc
intermediary net/minecraft/class_927
named net/minecraft/client/render/entity/MobEntityRenderer
  • Field Details

    • field_32940

      public static final int field_32940
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Letc;h:I
      intermediary field_32940 Lnet/minecraft/class_927;field_32940:I
      named field_32940 Lnet/minecraft/client/render/entity/MobEntityRenderer;field_32940:I
  • Constructor Details

    • MobEntityRenderer

      public MobEntityRenderer(EntityRendererFactory.Context ctx, M model, float shadowRadius)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesx;<init>(Lerx$a;Lefz;F)V
      intermediary <init> Lnet/minecraft/class_922;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_583;F)V
      named <init> Lnet/minecraft/client/render/entity/LivingEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/EntityModel;F)V
  • Method Details

    • 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 LivingEntityRenderer<T extends MobEntity,M extends EntityModel<T>>
      Mappings:
      Namespace Name Mixin selector
      official b Letc;b(Latv;)Z
      intermediary method_4071 Lnet/minecraft/class_927;method_4071(Lnet/minecraft/class_1308;)Z
      named hasLabel Lnet/minecraft/client/render/entity/MobEntityRenderer;hasLabel(Lnet/minecraft/entity/mob/MobEntity;)Z
    • shouldRender

      public boolean shouldRender(T t, Frustum frustum, double double2, double double3, double double4)
      Overrides:
      shouldRender in class EntityRenderer<T extends MobEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Letc;a(Latv;Leqb;DDD)Z
      intermediary method_4068 Lnet/minecraft/class_927;method_4068(Lnet/minecraft/class_1308;Lnet/minecraft/class_4604;DDD)Z
      named shouldRender Lnet/minecraft/client/render/entity/MobEntityRenderer;shouldRender(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/client/render/Frustum;DDD)Z
    • render

      public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class LivingEntityRenderer<T extends MobEntity,M extends EntityModel<T>>
      Mappings:
      Namespace Name Mixin selector
      official a Letc;a(Latv;FFLdqk;Lenh;I)V
      intermediary method_4072 Lnet/minecraft/class_927;method_4072(Lnet/minecraft/class_1308;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/MobEntityRenderer;render(Lnet/minecraft/entity/mob/MobEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • method_4073

      private <E extends Entity> void method_4073(T entity, float tickDelta, MatrixStack matrices, VertexConsumerProvider provider, E holdingEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Letc;a(Latv;FLdqk;Lenh;Latf;)V
      intermediary method_4073 Lnet/minecraft/class_927;method_4073(Lnet/minecraft/class_1308;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1297;)V
      named method_4073 Lnet/minecraft/client/render/entity/MobEntityRenderer;method_4073(Lnet/minecraft/entity/mob/MobEntity;FLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/entity/Entity;)V
    • method_23187

      private static void method_23187(VertexConsumer vertexConsumer, Matrix4f matrix4f, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, float float6, float float7, float float8, int int6, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Letc;a(Ldqo;Ld;FFFIIIIFFFFIZ)V
      intermediary method_23187 Lnet/minecraft/class_927;method_23187(Lnet/minecraft/class_4588;Lnet/minecraft/class_1159;FFFIIIIFFFFIZ)V
      named method_23187 Lnet/minecraft/client/render/entity/MobEntityRenderer;method_23187(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/util/math/Matrix4f;FFFIIIIFFFFIZ)V