Class EntityRenderer<T extends Entity>
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
- Direct Known Subclasses:
ArrowRenderer
,BoatRenderer
,DisplayRenderer
,DragonFireballRenderer
,EndCrystalRenderer
,EnderDragonRenderer
,EntityDataSerializerTest.TestEntityRenderer
,EvokerFangsRenderer
,ExperienceOrbRenderer
,FallingBlockRenderer
,FireworkEntityRenderer
,FishingHookRenderer
,ItemEntityRenderer
,ItemFrameRenderer
,LeashKnotRenderer
,LightningBoltRenderer
,LivingEntityRenderer
,LlamaSpitRenderer
,MinecartRenderer
,NoopRenderer
,OminousItemSpawnerRenderer
,PaintingRenderer
,ShulkerBulletRenderer
,ThrownItemRenderer
,ThrownTridentRenderer
,TntRenderer
,WindChargeRenderer
,WitherSkullRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EntityRenderDispatcher
private final Font
static final int
protected static final float
protected float
protected float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addVertexPair
(VertexConsumer p_352095_, org.joml.Matrix4f p_352142_, float p_352462_, float p_352226_, float p_352086_, int p_352406_, int p_352470_, int p_352371_, int p_352167_, float p_352293_, float p_352138_, float p_352315_, float p_352162_, int p_352291_, boolean p_352079_) protected int
getBlockLightLevel
(T p_114496_, BlockPos p_114497_) getFont()
final int
getPackedLightCoords
(T p_114506_, float p_114507_) getRenderOffset
(T p_114483_, float p_114484_) protected float
getShadowRadius
(T p_316475_) protected int
getSkyLightLevel
(T p_114509_, BlockPos p_114510_) abstract ResourceLocation
getTextureLocation
(T p_114482_) void
render
(T p_114485_, float p_114486_, float p_114487_, PoseStack p_114488_, MultiBufferSource p_114489_, int p_114490_) private <E extends Entity>
voidrenderLeash
(T p_352225_, float p_352465_, PoseStack p_352205_, MultiBufferSource p_352444_, E p_352269_) protected void
renderNameTag
(T p_114498_, Component p_114499_, PoseStack p_114500_, MultiBufferSource p_114501_, int p_114502_, float p_316698_) boolean
shouldRender
(T p_114491_, Frustum p_114492_, double p_114493_, double p_114494_, double p_114495_) protected boolean
shouldShowName
(T p_114504_)
-
Field Details
-
NAMETAG_SCALE
protected static final float NAMETAG_SCALE- See Also:
-
LEASH_RENDER_STEPS
public static final int LEASH_RENDER_STEPS- See Also:
-
entityRenderDispatcher
-
font
-
shadowRadius
protected float shadowRadius -
shadowStrength
protected float shadowStrength
-
-
Constructor Details
-
EntityRenderer
-
-
Method Details
-
getPackedLightCoords
-
getSkyLightLevel
-
getBlockLightLevel
-
shouldRender
-
getRenderOffset
-
render
public void render(T p_114485_, float p_114486_, float p_114487_, PoseStack p_114488_, MultiBufferSource p_114489_, int p_114490_) -
renderLeash
private <E extends Entity> void renderLeash(T p_352225_, float p_352465_, PoseStack p_352205_, MultiBufferSource p_352444_, E p_352269_) -
addVertexPair
private static void addVertexPair(VertexConsumer p_352095_, org.joml.Matrix4f p_352142_, float p_352462_, float p_352226_, float p_352086_, int p_352406_, int p_352470_, int p_352371_, int p_352167_, float p_352293_, float p_352138_, float p_352315_, float p_352162_, int p_352291_, boolean p_352079_) -
shouldShowName
-
getTextureLocation
-
getFont
-
renderNameTag
protected void renderNameTag(T p_114498_, Component p_114499_, PoseStack p_114500_, MultiBufferSource p_114501_, int p_114502_, float p_316698_) -
getShadowRadius
-