Class MobEntityRenderer<T extends MobEntity,M extends EntityModel<T>>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<T,M>
- All Implemented Interfaces:
FeatureRendererContext<T,
M>
- Direct Known Subclasses:
AbstractHorseEntityRenderer
,AllayEntityRenderer
,ArmadilloEntityRenderer
,AxolotlEntityRenderer
,BatEntityRenderer
,BeeEntityRenderer
,BipedEntityRenderer
,BlazeEntityRenderer
,BreezeEntityRenderer
,CamelEntityRenderer
,CatEntityRenderer
,ChickenEntityRenderer
,CodEntityRenderer
,CowEntityRenderer
,CreeperEntityRenderer
,DolphinEntityRenderer
,EndermanEntityRenderer
,EndermiteEntityRenderer
,FoxEntityRenderer
,FrogEntityRenderer
,GhastEntityRenderer
,GiantEntityRenderer
,GoatEntityRenderer
,GuardianEntityRenderer
,HoglinEntityRenderer
,IllagerEntityRenderer
,IronGolemEntityRenderer
,LlamaEntityRenderer
,MagmaCubeEntityRenderer
,MooshroomEntityRenderer
,OcelotEntityRenderer
,PandaEntityRenderer
,ParrotEntityRenderer
,PhantomEntityRenderer
,PigEntityRenderer
,PolarBearEntityRenderer
,PufferfishEntityRenderer
,RabbitEntityRenderer
,RavagerEntityRenderer
,SalmonEntityRenderer
,SheepEntityRenderer
,ShulkerEntityRenderer
,SilverfishEntityRenderer
,SlimeEntityRenderer
,SnifferEntityRenderer
,SnowGolemEntityRenderer
,SpiderEntityRenderer
,SquidEntityRenderer
,StriderEntityRenderer
,TadpoleEntityRenderer
,TropicalFishEntityRenderer
,TurtleEntityRenderer
,VexEntityRenderer
,VillagerEntityRenderer
,WanderingTraderEntityRenderer
,WardenEntityRenderer
,WitchEntityRenderer
,WitherEntityRenderer
,WolfEntityRenderer
,ZoglinEntityRenderer
@Environment(CLIENT)
public abstract class MobEntityRenderer<T extends MobEntity,M extends EntityModel<T>>
extends LivingEntityRenderer<T,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/MobEntityRenderer
intermediary net/minecraft/class_927
official glp
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
ConstructorDescriptionMobEntityRenderer
(EntityRendererFactory.Context ctx, M model, float shadowRadius) -
Method Summary
Modifier and TypeMethodDescriptionprotected float
getShadowRadius
(T t) protected boolean
Determines whether the passed entity should render with a nameplate above its head.Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, render, scale, setupTransforms, shouldFlipUpsideDown
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getSkyLight, getTextRenderer, getTexture, renderLabelIfPresent, shouldRender
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.render.entity.feature.FeatureRendererContext
getTexture
-
Constructor Details
-
MobEntityRenderer
- 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>
Lglk;<init>(Lgkj$a;Lfvk;F)V
-
-
Method Details
-
hasLabel
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 classLivingEntityRenderer<T extends MobEntity,
M extends EntityModel<T>> - Mappings:
Namespace Name Mixin selector named hasLabel
Lnet/minecraft/client/render/entity/MobEntityRenderer;hasLabel(Lnet/minecraft/entity/mob/MobEntity;)Z
intermediary method_4071
Lnet/minecraft/class_927;method_4071(Lnet/minecraft/class_1308;)Z
official a
Lglp;a(Lbtp;)Z
-
getShadowRadius
- Overrides:
getShadowRadius
in classLivingEntityRenderer<T extends MobEntity,
M extends EntityModel<T>> - Mappings:
Namespace Name Mixin selector named getShadowRadius
Lnet/minecraft/client/render/entity/MobEntityRenderer;getShadowRadius(Lnet/minecraft/entity/mob/MobEntity;)F
intermediary method_55833
Lnet/minecraft/class_927;method_55833(Lnet/minecraft/class_1308;)F
official b
Lglp;b(Lbtp;)F
-