net.minecraft.client.renderer.entity

public class EntityRenderDispatcher

implements ResourceManagerReloadListener

heb
net.minecraft.client.renderer.entity.EntityRenderDispatcher
net.minecraft.class_898
net.minecraft.client.render.entity.EntityRenderDispatcher

Field summary

Modifier and TypeField
private static final RenderType
e
SHADOW_RENDER_TYPE
field_21009
SHADOW_LAYER
private static final float
f
MAX_SHADOW_RADIUS
field_43377
field_43377
private static final float
g
SHADOW_POWER_FALLOFF_Y
field_43378
field_43378
private Map<EntityType<?>, EntityRenderer<?, ?>>
h
renderers
field_4696
renderers
private Map<PlayerSkin$Model, EntityRenderer<? extends Player, ?>>
i
playerRenderers
field_4687
modelRenderers
public final TextureManager
a
textureManager
field_4685
textureManager
private Level
j
level
field_4684
world
public Camera
b
camera
field_4686
camera
private org.joml.Quaternionf
k
cameraOrientation
field_21794
rotation
public Entity
c
crosshairPickEntity
field_4678
targetedEntity
private final ItemModelResolver
l
itemModelResolver
field_55289
itemModelManager
private final MapRenderer
m
mapRenderer
field_53188
mapRenderer
private final BlockRenderDispatcher
n
blockRenderDispatcher
field_38886
blockRenderManager
private final ItemInHandRenderer
o
itemInHandRenderer
field_38887
heldItemRenderer
private final Font
p
font
field_4689
textRenderer
public final Options
d
options
field_4692
gameOptions
private final Supplier<EntityModelSet>
q
entityModels
field_27760
entityModelsGetter
private final EquipmentAssetManager
r
equipmentAssets
field_55290
equipmentModelLoader
private boolean
s
shouldRenderShadow
field_4681
renderShadows
private boolean
t
renderHitBoxes
field_4680
renderHitboxes

Constructor summary

ModifierConstructor
public (Minecraft client, TextureManager textureManager, ItemModelResolver itemModelManager, ItemRenderer itemRenderer, MapRenderer mapRenderer, BlockRenderDispatcher blockRenderManager, Font textRenderer, Options gameOptions, Supplier<EntityModelSet> entityModelsGetter, EquipmentAssetManager equipmentModelLoader)

Method summary

Modifier and TypeMethod
public <E extends Entity> int
a(E arg0, float arg1)
getPackedLightCoords(E arg0, float arg1)
method_23839(E arg0, float arg1)
getLight(E entity, float tickProgress)
public <T extends Entity> EntityRenderer<? super T, ?>
a(T arg0)
getRenderer(T arg0)
method_3953(T arg0)
getRenderer(T entity)
public <S extends EntityRenderState> EntityRenderer<?, ? super S>
a(S arg0)
getRenderer(S arg0)
method_68832(S arg0)
getRenderer(S state)
public void
a(dmu arg0, ftl arg1, bzm arg2)
prepare(Level arg0, Camera arg1, Entity arg2)
method_3941(class_1937 arg0, class_4184 arg1, class_1297 arg2)
configure(World world, Camera camera, Entity target)
public void
a(org.joml.Quaternionf arg0)
overrideCameraOrientation(org.joml.Quaternionf arg0)
method_24196(org.joml.Quaternionf arg0)
setRotation(org.joml.Quaternionf rotation)
public void
a(boolean arg0)
setRenderShadow(boolean arg0)
method_3948(boolean arg0)
setRenderShadows(boolean renderShadows)
public void
b(boolean arg0)
setRenderHitBoxes(boolean arg0)
method_3955(boolean arg0)
setRenderHitboxes(boolean renderHitboxes)
public boolean
a()
shouldRenderHitBoxes()
method_3958()
shouldRenderHitboxes()
public <E extends Entity> boolean
a(E arg0, hbp arg1, double arg2, double arg3, double arg4)
shouldRender(E arg0, Frustum arg1, double arg2, double arg3, double arg4)
method_3950(E arg0, class_4604 arg1, double arg2, double arg3, double arg4)
shouldRender(E entity, Frustum frustum, double x, double y, double z)
public <E extends Entity> void
a(E arg0, double arg1, double arg2, double arg3, float arg4, foc arg5, gxm arg6, int arg7)
render(E arg0, double arg1, double arg2, double arg3, float arg4, PoseStack arg5, MultiBufferSource arg6, int arg7)
method_62424(E arg0, double arg1, double arg2, double arg3, float arg4, class_4587 arg5, class_4597 arg6, int arg7)
render(E entity, double x, double y, double z, float tickProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
private <E extends Entity, S extends EntityRenderState> void
a(E arg0, double arg1, double arg2, double arg3, float arg4, foc arg5, gxm arg6, int arg7, hec<? super E, S> arg8)
render(E arg0, double arg1, double arg2, double arg3, float arg4, PoseStack arg5, MultiBufferSource arg6, int arg7, EntityRenderer<? super E, S> arg8)
method_3954(E arg0, double arg1, double arg2, double arg3, float arg4, class_4587 arg5, class_4597 arg6, int arg7, class_897<? super E, S> arg8)
render(E entity, double x, double y, double z, float tickProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, EntityRenderer<? super E, S> renderer)
public <S extends EntityRenderState> void
a(S arg0, double arg1, double arg2, double arg3, foc arg4, gxm arg5, int arg6)
render(S arg0, double arg1, double arg2, double arg3, PoseStack arg4, MultiBufferSource arg5, int arg6)
method_68833(S arg0, double arg1, double arg2, double arg3, class_4587 arg4, class_4597 arg5, int arg6)
render(S state, double x, double y, double z, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
private <S extends EntityRenderState> void
a(S arg0, double arg1, double arg2, double arg3, foc arg4, gxm arg5, int arg6, hec<?, S> arg7)
render(S arg0, double arg1, double arg2, double arg3, PoseStack arg4, MultiBufferSource arg5, int arg6, EntityRenderer<?, S> arg7)
method_68834(S arg0, double arg1, double arg2, double arg3, class_4587 arg4, class_4597 arg5, int arg6, class_897<?, S> arg7)
render(S state, double x, double y, double z, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, EntityRenderer<?, S> renderer)
private <S extends EntityRenderState> CrashReportCategory
a(double arg0, double arg1, double arg2, hec<?, S> arg3, p arg4)
fillRendererDetails(double arg0, double arg1, double arg2, EntityRenderer<?, S> arg3, CrashReport arg4)
method_68829(double arg0, double arg1, double arg2, class_897<?, S> arg3, class_128 arg4)
addRendererDetails(double x, double y, double z, EntityRenderer<?, S> renderer, CrashReport crashReport)
private void
a(foc arg0, hkm arg1, hlc arg2, gxm arg3)
renderHitboxes(PoseStack arg0, EntityRenderState arg1, HitboxesRenderState arg2, MultiBufferSource arg3)
method_68830(class_4587 arg0, class_10017 arg1, class_10933 arg2, class_4597 arg3)
renderHitboxes(MatrixStack matrices, EntityRenderState state, EntityHitboxAndView hitbox, VertexConsumerProvider vertexConsumers)
private static void
a(foc arg0, hlc arg1, fof arg2, float arg3)
renderHitboxesAndViewVector(PoseStack arg0, HitboxesRenderState arg1, VertexConsumer arg2, float arg3)
method_68831(class_4587 arg0, class_10933 arg1, class_4588 arg2, float arg3)
renderHitboxes(MatrixStack matrices, EntityHitboxAndView hitbox, VertexConsumer vertexConsumer, float standingEyeHeight)
private static void
a(foc arg0, fof arg1, hlb arg2)
renderHitbox(PoseStack arg0, VertexConsumer arg1, HitboxRenderState arg2)
method_3956(class_4587 arg0, class_4588 arg1, class_10932 arg2)
renderHitbox(MatrixStack matrices, VertexConsumer vertexConsumer, EntityHitbox hitbox)
private void
a(foc arg0, gxm arg1, hkm arg2, org.joml.Quaternionf arg3)
renderFlame(PoseStack arg0, MultiBufferSource arg1, EntityRenderState arg2, org.joml.Quaternionf arg3)
method_23165(class_4587 arg0, class_4597 arg1, class_10017 arg2, org.joml.Quaternionf arg3)
renderFire(MatrixStack matrices, VertexConsumerProvider vertexConsumers, EntityRenderState renderState, org.joml.Quaternionf rotation)
private static void
a(foc$a arg0, fof arg1, float arg2, float arg3, float arg4, float arg5, float arg6)
fireVertex(PoseStack$Pose arg0, VertexConsumer arg1, float arg2, float arg3, float arg4, float arg5, float arg6)
method_23161(class_4587$class_4665 arg0, class_4588 arg1, float arg2, float arg3, float arg4, float arg5, float arg6)
drawFireVertex(MatrixStack$Entry entry, VertexConsumer vertices, float x, float y, float z, float u, float v)
private static void
a(foc arg0, gxm arg1, hkm arg2, float arg3, dmx arg4, float arg5)
renderShadow(PoseStack arg0, MultiBufferSource arg1, EntityRenderState arg2, float arg3, LevelReader arg4, float arg5)
method_23166(class_4587 arg0, class_4597 arg1, class_10017 arg2, float arg3, class_4538 arg4, float arg5)
renderShadow(MatrixStack matrices, VertexConsumerProvider vertexConsumers, EntityRenderState renderState, float opacity, WorldView world, float radius)
private static void
a(foc$a arg0, fof arg1, efy arg2, dmx arg3, jb arg4, double arg5, double arg6, double arg7, float arg8, float arg9)
renderBlockShadow(PoseStack$Pose arg0, VertexConsumer arg1, ChunkAccess arg2, LevelReader arg3, BlockPos arg4, double arg5, double arg6, double arg7, float arg8, float arg9)
method_23163(class_4587$class_4665 arg0, class_4588 arg1, class_2791 arg2, class_4538 arg3, class_2338 arg4, double arg5, double arg6, double arg7, float arg8, float arg9)
renderShadowPart(MatrixStack$Entry entry, VertexConsumer vertices, Chunk chunk, WorldView world, BlockPos pos, double x, double y, double z, float radius, float opacity)
private static void
a(foc$a arg0, fof arg1, int arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
shadowVertex(PoseStack$Pose arg0, VertexConsumer arg1, int arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
method_23162(class_4587$class_4665 arg0, class_4588 arg1, int arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
drawShadowVertex(MatrixStack$Entry entry, VertexConsumer vertices, int color, float x, float y, float z, float u, float v)
public void
a(dmu arg0)
setLevel(Level arg0)
method_3944(class_1937 arg0)
setWorld(World world)
public double
b(bzm arg0)
distanceToSqr(Entity arg0)
method_23168(class_1297 arg0)
getSquaredDistanceToCamera(Entity entity)
public double
a(double arg0, double arg1, double arg2)
distanceToSqr(double arg0, double arg1, double arg2)
method_3959(double arg0, double arg1, double arg2)
getSquaredDistanceToCamera(double x, double y, double z)
public org.joml.Quaternionf
b()
cameraOrientation()
method_24197()
getRotation()
public ItemInHandRenderer
c()
getItemInHandRenderer()
method_43336()
getHeldItemRenderer()
public void
a(axo arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
reload(ResourceManager arg0)