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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EntityRendererManager
protected float
protected float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getBlockLightLevel
(T p_225624_1_, BlockPos p_225624_2_) getFont()
final int
getPackedLightCoords
(T p_229100_1_, float p_229100_2_) 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 Details
-
entityRenderDispatcher
-
shadowRadius
protected float shadowRadius -
shadowStrength
protected float shadowStrength
-
-
Constructor Details
-
EntityRenderer
-
-
Method Details
-
getPackedLightCoords
-
getSkyLightLevel
-
getBlockLightLevel
-
shouldRender
public boolean shouldRender(T p_225626_1_, ClippingHelper p_225626_2_, double p_225626_3_, double p_225626_5_, double p_225626_7_) -
getRenderOffset
-
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
-
getTextureLocation
-
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
-