Class EntityRenderer<T extends Entity>
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- Direct Known Subclasses:
AreaEffectCloudRenderer
,ArrowRenderer
,BoatRenderer
,DragonFireballRenderer
,EnderCrystalRenderer
,EnderDragonRenderer
,EvokerFangsRenderer
,ExperienceOrbRenderer
,FallingBlockRenderer
,FireworkRocketRenderer
,FishRenderer
,ItemFrameRenderer
,ItemRenderer
,LeashKnotRenderer
,LightningBoltRenderer
,LivingRenderer
,LlamaSpitRenderer
,MinecartRenderer
,PaintingRenderer
,ShulkerBulletRenderer
,SpriteRenderer
,TNTRenderer
,TridentRenderer
,WitherSkullRenderer
public abstract class EntityRenderer<T extends Entity> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EntityRendererManager
entityRenderDispatcher
protected float
shadowRadius
protected float
shadowStrength
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntityRenderer(EntityRendererManager p_i46179_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected int
getBlockLightLevel(T p_225624_1_, BlockPos p_225624_2_)
EntityRendererManager
getDispatcher()
FontRenderer
getFont()
int
getPackedLightCoords(T p_229100_1_, float p_229100_2_)
Vector3d
getRenderOffset(T p_225627_1_, float p_225627_2_)
protected int
getSkyLightLevel(T p_239381_1_, BlockPos p_239381_2_)
abstract ResourceLocation
getTextureLocation(T p_110775_1_)
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_)
protected void
renderNameTag(T p_225629_1_, ITextComponent p_225629_2_, MatrixStack p_225629_3_, IRenderTypeBuffer p_225629_4_, int p_225629_5_)
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_)
-
-
-
Field Detail
-
entityRenderDispatcher
protected final EntityRendererManager entityRenderDispatcher
-
shadowRadius
protected float shadowRadius
-
shadowStrength
protected float shadowStrength
-
-
Constructor Detail
-
EntityRenderer
protected EntityRenderer(EntityRendererManager p_i46179_1_)
-
-
Method Detail
-
getPackedLightCoords
public final int getPackedLightCoords(T p_229100_1_, float p_229100_2_)
-
shouldRender
public boolean shouldRender(T p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_)
-
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_)
-
shouldShowName
protected boolean shouldShowName(T p_177070_1_)
-
getTextureLocation
public abstract ResourceLocation getTextureLocation(T p_110775_1_)
-
getFont
public FontRenderer getFont()
-
renderNameTag
protected void renderNameTag(T p_225629_1_, ITextComponent p_225629_2_, MatrixStack p_225629_3_, IRenderTypeBuffer p_225629_4_, int p_225629_5_)
-
getDispatcher
public EntityRendererManager getDispatcher()
-
-