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

Field summary

Modifier and TypeField
protected static final float
b
NAMETAG_SCALE
field_32921
field_32921
public static final int
c
LEASH_RENDER_STEPS
field_52257
field_52257
public static final float
d
LEASH_WIDTH
field_60152
field_60152
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
h
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 tickProgress)
protected int
b(T arg0, jb arg1)
getSkyLightLevel(T arg0, BlockPos arg1)
method_27950(T arg0, class_2338 arg1)
getSkyLight(T entity, BlockPos pos)
protected int
a(T arg0, jb arg1)
getBlockLightLevel(T arg0, BlockPos arg1)
method_24087(T arg0, class_2338 arg1)
getBlockLight(T entity, BlockPos pos)
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)
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, 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)
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)
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)
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, 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)
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 tickProgress)
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)
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)
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)
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)
private static Entity
d(bzm arg0)
getServerSideEntity(Entity arg0)
method_68837(class_1297 arg0)
getServerEntity(Entity clientEntity)