Class MobEntityRenderer<T extends MobEntity,S extends LivingEntityRenderState,M extends EntityModel<? super S>>

All Implemented Interfaces:
FeatureRendererContext<S,M>
Direct Known Subclasses:
AgeableMobEntityRenderer, AllayEntityRenderer, BatEntityRenderer, BlazeEntityRenderer, BreezeEntityRenderer, CodEntityRenderer, CreakingEntityRenderer, CreeperEntityRenderer, EndermanEntityRenderer, EndermiteEntityRenderer, FrogEntityRenderer, GhastEntityRenderer, GiantEntityRenderer, GuardianEntityRenderer, IllagerEntityRenderer, IronGolemEntityRenderer, MagmaCubeEntityRenderer, ParrotEntityRenderer, PhantomEntityRenderer, PufferfishEntityRenderer, RavagerEntityRenderer, SalmonEntityRenderer, ShulkerEntityRenderer, SilverfishEntityRenderer, SlimeEntityRenderer, SnowGolemEntityRenderer, SpiderEntityRenderer, StriderEntityRenderer, TadpoleEntityRenderer, TropicalFishEntityRenderer, VexEntityRenderer, VillagerEntityRenderer, WanderingTraderEntityRenderer, WardenEntityRenderer, WitchEntityRenderer, WitherEntityRenderer

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

    • MobEntityRenderer

      public MobEntityRenderer(EntityRendererFactory.Context ctx, M model, float shadowRadius)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_922;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_583;F)V
      official <init> Lgsq;<init>(Lgrp$a;Lgbl;F)V
  • Method Details

    • hasLabel

      protected boolean hasLabel(T t, double double2)
      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,S extends LivingEntityRenderState,M extends EntityModel<? super S>>
      Mappings:
      Namespace Name Mixin selector
      named hasLabel Lnet/minecraft/client/render/entity/MobEntityRenderer;hasLabel(Lnet/minecraft/entity/mob/MobEntity;D)Z
      intermediary method_4071 Lnet/minecraft/class_927;method_4071(Lnet/minecraft/class_1308;D)Z
      official a Lgsv;a(Lbwh;D)Z
    • getShadowRadius

      protected float getShadowRadius(S s)
      Overrides:
      getShadowRadius in class LivingEntityRenderer<T extends MobEntity,S extends LivingEntityRenderState,M extends EntityModel<? super S>>
      Mappings:
      Namespace Name Mixin selector
      named getShadowRadius Lnet/minecraft/client/render/entity/MobEntityRenderer;getShadowRadius(Lnet/minecraft/client/render/entity/state/LivingEntityRenderState;)F
      intermediary method_55832 Lnet/minecraft/class_927;method_55832(Lnet/minecraft/class_10042;)F
      official method_55832 Lgsv;method_55832(Lgys;)F