net.minecraft.client.renderer.entity

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

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

Field summary

Modifier and TypeField
private static final float
a
SHADOW_POWER_FALLOFF_Y
field_61797
field_61797
private static final float
f
MAX_SHADOW_RADIUS
field_61798
field_61798
public static final float
b
NAMETAG_SCALE
field_32921
field_32921
protected final EntityRenderDispatcher
c
entityRenderDispatcher
field_4676
dispatcher
private final Font
g
font
field_27761
textRenderer
protected float
d
shadowRadius
field_4673
shadowRadius
protected float
e
shadowStrength
field_4672
shadowOpacity

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, hel 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, fpk arg1, hbd arg2)
submit(S arg0, PoseStack arg1, SubmitNodeCollector arg2)
method_3936(S arg0, class_4587 arg1, class_11659 arg2)
render(S renderState, MatrixStack matrices, EntityRenderCommandQueue queue)
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
b(S arg0, fpk arg1, hbd arg2)
submitNameTag(S arg0, PoseStack arg1, SubmitNodeCollector arg2)
method_3926(S arg0, class_4587 arg1, class_11659 arg2)
renderLabelIfPresent(S state, MatrixStack matrices, EntityRenderCommandQueue arg2)
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
a(S arg0, fvk arg1, dno arg2)
extractShadow(S arg0, Minecraft arg1, Level arg2)
method_72979(S arg0, class_310 arg1, class_1937 arg2)
method_72979(S renderState, MinecraftClient client, World world)
private void
a(S arg0, dno arg1, float arg2, jb$a arg3, ehe arg4)
extractShadowPiece(S arg0, Level arg1, float arg2, BlockPos$MutableBlockPos arg3, ChunkAccess arg4)
method_72978(S arg0, class_1937 arg1, float arg2, class_2338$class_2339 arg3, class_2791 arg4)
method_72978(S renderState, World world, float shadowOpacity, BlockPos$Mutable pos, Chunk chunk)
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<hoa> 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(bzx arg0)
getServerSideEntity(Entity arg0)
method_68837(class_1297 arg0)
getServerEntity(Entity clientEntity)