Class MobRenderer<T extends MobEntity,M extends EntityModel<T>>
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<T,M>
-
- All Implemented Interfaces:
IEntityRenderer<T,M>
- Direct Known Subclasses:
AbstractHorseRenderer
,BatRenderer
,BeeRenderer
,BipedRenderer
,BlazeRenderer
,CatRenderer
,ChickenRenderer
,CodRenderer
,CowRenderer
,CreeperRenderer
,DolphinRenderer
,EndermanRenderer
,EndermiteRenderer
,FoxRenderer
,GhastRenderer
,GiantZombieRenderer
,GuardianRenderer
,HoglinRenderer
,IllagerRenderer
,IronGolemRenderer
,LlamaRenderer
,MagmaCubeRenderer
,MooshroomRenderer
,OcelotRenderer
,PandaRenderer
,ParrotRenderer
,PhantomRenderer
,PigRenderer
,PolarBearRenderer
,PufferfishRenderer
,RabbitRenderer
,RavagerRenderer
,SalmonRenderer
,SheepRenderer
,ShulkerRenderer
,SilverfishRenderer
,SlimeRenderer
,SnowManRenderer
,SpiderRenderer
,SquidRenderer
,StriderRenderer
,TropicalFishRenderer
,TurtleRenderer
,VillagerRenderer
,WanderingTraderRenderer
,WitchRenderer
,WitherRenderer
,WolfRenderer
,ZoglinRenderer
public abstract class MobRenderer<T extends MobEntity,M extends EntityModel<T>> extends LivingRenderer<T,M>
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description MobRenderer(EntityRendererManager p_i50961_1_, M p_i50961_2_, float p_i50961_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addVertexPair(IVertexBuilder p_229120_0_, Matrix4f p_229120_1_, int p_229120_2_, float p_229120_3_, float p_229120_4_, float p_229120_5_, float p_229120_6_, float p_229120_7_, int p_229120_8_, int p_229120_9_, boolean p_229120_10_, float p_229120_11_, float p_229120_12_)
void
render(T p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
private <E extends Entity>
voidrenderLeash(T p_229118_1_, float p_229118_2_, MatrixStack p_229118_3_, IRenderTypeBuffer p_229118_4_, E p_229118_5_)
static void
renderSide(IVertexBuilder p_229119_0_, Matrix4f p_229119_1_, float p_229119_2_, float p_229119_3_, float p_229119_4_, int p_229119_5_, int p_229119_6_, int p_229119_7_, int p_229119_8_, float p_229119_9_, float p_229119_10_, float p_229119_11_, float p_229119_12_)
boolean
shouldRender(T p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
protected boolean
shouldShowName(T p_177070_1_)
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, getTextureLocation, renderNameTag
-
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.renderer.entity.IEntityRenderer
getTextureLocation
-
-
-
-
Constructor Detail
-
MobRenderer
public MobRenderer(EntityRendererManager p_i50961_1_, M p_i50961_2_, float p_i50961_3_)
-
-
Method Detail
-
shouldShowName
protected boolean shouldShowName(T p_177070_1_)
- Overrides:
shouldShowName
in classLivingRenderer<T extends MobEntity,M extends EntityModel<T>>
-
shouldRender
public boolean shouldRender(T p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
- Overrides:
shouldRender
in classEntityRenderer<T extends MobEntity>
-
render
public void render(T p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classLivingRenderer<T extends MobEntity,M extends EntityModel<T>>
-
renderLeash
private <E extends Entity> void renderLeash(T p_229118_1_, float p_229118_2_, MatrixStack p_229118_3_, IRenderTypeBuffer p_229118_4_, E p_229118_5_)
-
renderSide
public static void renderSide(IVertexBuilder p_229119_0_, Matrix4f p_229119_1_, float p_229119_2_, float p_229119_3_, float p_229119_4_, int p_229119_5_, int p_229119_6_, int p_229119_7_, int p_229119_8_, float p_229119_9_, float p_229119_10_, float p_229119_11_, float p_229119_12_)
-
addVertexPair
public static void addVertexPair(IVertexBuilder p_229120_0_, Matrix4f p_229120_1_, int p_229120_2_, float p_229120_3_, float p_229120_4_, float p_229120_5_, float p_229120_6_, float p_229120_7_, int p_229120_8_, int p_229120_9_, boolean p_229120_10_, float p_229120_11_, float p_229120_12_)
-
-