net.minecraft.client.renderer.entity

public abstract class EntityRenderer<T extends Entity, S extends EntityRenderState>

hec
net.minecraft.client.renderer.entity.EntityRenderer
net.minecraft.class_897
net.minecraft.client.render.entity.EntityRenderer
net.minecraft.src.C_4331_

Field summary

Modifier and TypeField
protected static final float
b
NAMETAG_SCALE
field_32921
field_32921
f_174006_
public static final int
c
LEASH_RENDER_STEPS
field_52257
field_52257
f_336747_
public static final float
d
LEASH_WIDTH
field_60152
field_60152
f_400223_
protected final EntityRenderDispatcher
e
entityRenderDispatcher
field_4676
dispatcher
f_114476_
private final Font
a
font
field_27761
textRenderer
f_174005_
protected float
f
shadowRadius
field_4673
shadowRadius
f_114477_
protected float
g
shadowStrength
field_4672
shadowOpacity
f_114478_
private final S
h
reusedState
field_53189
state
f_346281_

Constructor summary

ModifierConstructor
protected (EntityRendererProvider$Context context)

Method summary

Modifier and TypeMethod
public final int
a(T arg0, float arg1)
getPackedLightCoords(T arg0, float arg1)
method_24088(T arg0, float arg1)
getLight(T entity, float tickProgress)
m_114505_(T p_114507_, float arg1)
protected int
b(T arg0, jb arg1)
getSkyLightLevel(T arg0, BlockPos arg1)
method_27950(T arg0, class_2338 arg1)
getSkyLight(T entity, BlockPos pos)
m_114508_(T p_114510_, C_4675_ arg1)
protected int
a(T arg0, jb arg1)
getBlockLightLevel(T arg0, BlockPos arg1)
method_24087(T arg0, class_2338 arg1)
getBlockLight(T entity, BlockPos pos)
m_6086_(T p_114497_, C_4675_ arg1)
public boolean
a(T arg0, hbp arg1, double arg2, double arg3, double arg4)
shouldRender(T arg0, Frustum arg1, double arg2, double arg3, double arg4)
method_3933(T arg0, class_4604 arg1, double arg2, double arg3, double arg4)
shouldRender(T entity, Frustum frustum, double x, double y, double z)
m_5523_(T p_114492_, C_4273_ p_114493_, double p_114494_, double arg3, double arg4)
protected AABB
a(T arg0)
getBoundingBoxForCulling(T arg0)
method_62358(T arg0)
getBoundingBox(T entity)
m_352235_(T arg0)
protected boolean
b(T arg0)
affectedByCulling(T arg0)
method_62406(T arg0)
canBeCulled(T entity)
m_351558_(T arg0)
public Vec3
a(S arg0)
getRenderOffset(S arg0)
method_23169(S arg0)
getPositionOffset(S state)
m_7860_(S arg0)
public void
a(S arg0, foc arg1, gxm arg2, int arg3)
render(S arg0, PoseStack arg1, MultiBufferSource arg2, int arg3)
method_3936(S arg0, class_4587 arg1, class_4597 arg2, int arg3)
render(S state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
m_7392_(S p_114488_, C_3181_ p_114489_, C_4139_ p_114490_, int arg3)
private static void
a(foc arg0, gxm arg1, hkm$a arg2)
renderLeash(PoseStack arg0, MultiBufferSource arg1, EntityRenderState$LeashState arg2)
method_61049(class_4587 arg0, class_4597 arg1, class_10017$class_10018 arg2)
renderLeash(MatrixStack matrices, VertexConsumerProvider vertexConsumers, EntityRenderState$LeashData leashData)
m_340483_(C_3181_ p_344390_, C_4139_ p_342590_, C_345678_$C_345655_ p_366061_)
private static void
a(fof arg0, org.joml.Matrix4f arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, boolean arg10, hkm$a arg11)
addVertexPair(VertexConsumer arg0, org.joml.Matrix4f arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, boolean arg10, EntityRenderState$LeashState arg11)
method_61050(class_4588 arg0, org.joml.Matrix4f arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9, boolean arg10, class_10017$class_10018 arg11)
renderLeashSegment(VertexConsumer vertexConsumer, org.joml.Matrix4f matrix, float leashedEntityX, float leashedEntityY, float leashedEntityZ, float arg5, float arg6, float arg7, float arg8, int segment, boolean arg10, EntityRenderState$LeashData leashData)
m_340096_(C_3187_ p_344804_, org.joml.Matrix4f p_343855_, float p_342047_, float p_343146_, float p_342344_, float p_342941_, float p_343681_, float p_343907_, float p_343356_, int p_342780_, boolean p_343253_, C_345678_$C_345655_ p_408542_)
protected boolean
a(T arg0, double arg1)
shouldShowName(T arg0, double arg1)
method_3921(T arg0, double arg1)
hasLabel(T entity, double squaredDistanceToCamera)
m_6512_(T p_363875_, double arg1)
public Font
e()
getFont()
method_3932()
getTextRenderer()
m_114481_()
protected void
a(S arg0, xo arg1, foc arg2, gxm arg3, int arg4)
renderNameTag(S arg0, Component arg1, PoseStack arg2, MultiBufferSource arg3, int arg4)
method_3926(S arg0, class_2561 arg1, class_4587 arg2, class_4597 arg3, int arg4)
renderLabelIfPresent(S state, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
m_7649_(S p_114499_, C_4996_ p_114500_, C_3181_ p_114501_, C_4139_ p_114502_, int arg4)
protected Component
c(T arg0)
getNameTag(T arg0)
method_62426(T arg0)
getDisplayName(T entity)
m_352300_(T arg0)
protected float
c(S arg0)
getShadowRadius(S arg0)
method_55831(S arg0)
getShadowRadius(S state)
m_318622_(S arg0)
protected float
b(S arg0)
getShadowStrength(S arg0)
method_65247(S arg0)
getShadowOpacity(S state)
m_372153_(S arg0)
public abstract S
d()
createRenderState()
method_55269()
createRenderState()
m_5478_()
public final S
b(T arg0, float arg1)
createRenderState(T arg0, float arg1)
method_62425(T arg0, float arg1)
getAndUpdateRenderState(T entity, float tickProgress)
m_356383_(T p_363950_, float arg1)
public void
a(T arg0, S arg1, float arg2)
extractRenderState(T arg0, S arg1, float arg2)
method_62354(T arg0, S arg1, float arg2)
updateRenderState(T entity, S state, float tickProgress)
m_351578_(T p_367427_, S p_363243_, float arg2)
private void
b(T arg0, S arg1, float arg2)
extractHitboxes(T arg0, S arg1, float arg2)
method_68836(T arg0, S arg1, float arg2)
updateDebugState(T entity, S state, float tickProgress)
m_384539_(T p_392322_, S p_392236_, float arg2)
private HitboxesRenderState
a(T arg0, float arg1, boolean arg2)
extractHitboxes(T arg0, float arg1, boolean arg2)
method_68835(T arg0, float arg1, boolean arg2)
createHitbox(T entity, float tickProgress, boolean green)
m_384775_(T p_391350_, float p_397237_, boolean arg2)
protected void
a(T arg0, com.google.common.collect.ImmutableList$Builder<hlb> arg1, float arg2)
extractAdditionalHitboxes(T arg0, com.google.common.collect.ImmutableList$Builder<HitboxRenderState> arg1, float arg2)
method_68827(T arg0, com.google.common.collect.ImmutableList$Builder<class_10932> arg1, float arg2)
appendHitboxes(T entity, com.google.common.collect.ImmutableList$Builder<EntityHitbox> builder, float tickProgress)
m_384731_(T p_395671_, com.google.common.collect.ImmutableList$Builder<C_379348_> p_395030_, float arg2)
private static Entity
d(bzm arg0)
getServerSideEntity(Entity arg0)
method_68837(class_1297 arg0)
getServerEntity(Entity clientEntity)
m_387450_(C_507_ p_397464_)