net.minecraft.client.renderer.entity

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

gse
net.minecraft.client.renderer.entity.EntityRenderer
net.minecraft.class_897
net.minecraft.client.render.entity.EntityRenderer

Field summary

Modifier and TypeField
protected static final float
c
NAMETAG_SCALE
field_32921
field_32921
public static final int
d
LEASH_RENDER_STEPS
field_52257
field_52257
protected final EntityRenderDispatcher
e
entityRenderDispatcher
field_4676
dispatcher
private final Font
a
font
field_27761
textRenderer
protected float
f
shadowRadius
field_4673
shadowRadius
protected float
g
shadowStrength
field_4672
shadowOpacity
private final S
b
reusedState
field_53189
state

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 tickDelta)
protected int
b(T arg0, ji arg1)
getSkyLightLevel(T arg0, BlockPos arg1)
method_27950(T arg0, class_2338 arg1)
getSkyLight(T entity, BlockPos pos)
protected int
a(T arg0, ji arg1)
getBlockLightLevel(T arg0, BlockPos arg1)
method_24087(T arg0, class_2338 arg1)
getBlockLight(T entity, BlockPos pos)
public boolean
a(T arg0, gpr 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)
protected AABB
a(T arg0)
getBoundingBoxForCulling(T arg0)
method_62358(T arg0)
getBoundingBox(T entity)
protected boolean
b(T arg0)
affectedByCulling(T arg0)
method_62406(T arg0)
canBeCulled(T entity)
public Vec3
a(S arg0)
getRenderOffset(S arg0)
method_23169(S arg0)
getPositionOffset(S state)
public void
a(S arg0, ffv arg1, glz 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)
private static void
a(ffv arg0, glz arg1, gyl$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)
private static void
a(ffz arg0, org.joml.Matrix4f arg1, float arg2, float arg3, float arg4, int arg5, int arg6, int arg7, int arg8, float arg9, float arg10, float arg11, float arg12, int arg13, boolean arg14)
addVertexPair(VertexConsumer arg0, org.joml.Matrix4f arg1, float arg2, float arg3, float arg4, int arg5, int arg6, int arg7, int arg8, float arg9, float arg10, float arg11, float arg12, int arg13, boolean arg14)
method_61050(class_4588 arg0, org.joml.Matrix4f arg1, float arg2, float arg3, float arg4, int arg5, int arg6, int arg7, int arg8, float arg9, float arg10, float arg11, float arg12, int arg13, boolean arg14)
renderLeashSegment(VertexConsumer vertexConsumer, org.joml.Matrix4f matrix, float leashedEntityX, float leashedEntityY, float leashedEntityZ, int leashedEntityBlockLight, int leashHolderBlockLight, int leashedEntitySkyLight, int leashHolderSkyLight, float arg9, float arg10, float arg11, float arg12, int segmentIndex, boolean isLeashKnot)
protected boolean
a(T arg0, double arg1)
shouldShowName(T arg0, double arg1)
method_3921(T arg0, double arg1)
hasLabel(T entity, double squaredDistanceToCamera)
public Font
e()
getFont()
method_3932()
getTextRenderer()
protected void
a(S arg0, wp arg1, ffv arg2, glz 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)
protected Component
c(T arg0)
getNameTag(T arg0)
method_62426(T arg0)
getDisplayName(T entity)
protected float
c(S arg0)
getShadowRadius(S arg0)
method_55831(S arg0)
getShadowRadius(S state)
protected float
b(S arg0)
getShadowStrength(S arg0)
method_65247(S arg0)
getShadowOpacity(S state)
public abstract S
d()
createRenderState()
method_55269()
createRenderState()
public final S
b(T arg0, float arg1)
createRenderState(T arg0, float arg1)
method_62425(T arg0, float arg1)
getAndUpdateRenderState(T entity, float tickDelta)
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 tickDelta)