Class MobEntityRenderer<T extends MobEntity,S extends LivingEntityRenderState,M extends EntityModel<? super S>>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T,S>
net.minecraft.client.render.entity.LivingEntityRenderer<T,S,M>
net.minecraft.client.render.entity.MobEntityRenderer<T,S,M>
- 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
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, itemRenderer, 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
(S s) 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, getBoundingBox, getMixColor, getModel, getOverlay, getRenderLayer, getTexture, isShaking, isVisible, method_3919, render, scale, setupTransforms, shouldFlipUpsideDown, shouldRenderFeatures, updateRenderState
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, createRenderState, getAndUpdateRenderState, getBlockLight, getDisplayName, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent, shouldRender
-
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>
Lgsq;<init>(Lgrp$a;Lgbl;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,
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
- Overrides:
getShadowRadius
in classLivingEntityRenderer<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
-