net.minecraft.client.renderer.entity

public class EntityRenderDispatcher

implements ResourceManagerReloadListener

gro
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 ItemRenderer
l
itemRenderer
field_27759
itemRenderer
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 EntityModelSet
q
entityModels
field_27760
modelLoader
private final EquipmentModelSet
r
equipmentModels
field_54173
equipmentModelLoader
private boolean
s
shouldRenderShadow
field_4681
renderShadows
private boolean
t
renderHitBoxes
field_4680
renderHitboxes

Constructor summary

ModifierConstructor
public (Minecraft client, TextureManager textureManager, ItemRenderer itemRenderer, MapRenderer mapRenderer, BlockRenderDispatcher blockRenderManager, Font textRenderer, Options gameOptions, EntityModelSet modelLoader, EquipmentModelSet 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 tickDelta)
public <T extends Entity> EntityRenderer<? super T, ?>
a(T arg0)
getRenderer(T arg0)
method_3953(T arg0)
getRenderer(T entity)
public void
a(dhi arg0, flp arg1, bvk 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, gpc 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, fgs arg5, gll 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 tickDelta, 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, fgs arg5, gll arg6, int arg7, grp<? 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 tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, EntityRenderer<? super E, S> renderer)
private static void
a(fgs arg0, bvk arg1, gll arg2)
renderServerSideHitbox(PoseStack arg0, Entity arg1, MultiBufferSource arg2)
method_61170(class_4587 arg0, class_1297 arg1, class_4597 arg2)
renderServerSideHitbox(MatrixStack matrices, Entity entity, VertexConsumerProvider vertexConsumers)
private static Entity
c(bvk arg0)
getServerSideEntity(Entity arg0)
method_61172(class_1297 arg0)
getIntegratedServerEntity(Entity entity)
private static void
a(fgs arg0, fgw arg1, bvk arg2, float arg3, float arg4, float arg5, float arg6)
renderHitbox(PoseStack arg0, VertexConsumer arg1, Entity arg2, float arg3, float arg4, float arg5, float arg6)
method_3956(class_4587 arg0, class_4588 arg1, class_1297 arg2, float arg3, float arg4, float arg5, float arg6)
renderHitbox(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta, float red, float green, float blue)
private void
a(fgs arg0, gll arg1, gxv 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(fgs$a arg0, fgw 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(fgs arg0, gll arg1, gxv arg2, float arg3, float arg4, dhl arg5, float arg6)
renderShadow(PoseStack arg0, MultiBufferSource arg1, EntityRenderState arg2, float arg3, float arg4, LevelReader arg5, float arg6)
method_23166(class_4587 arg0, class_4597 arg1, class_10017 arg2, float arg3, float arg4, class_4538 arg5, float arg6)
renderShadow(MatrixStack matrices, VertexConsumerProvider vertexConsumers, EntityRenderState renderState, float opacity, float tickDelta, WorldView world, float radius)
private static void
a(fgs$a arg0, fgw arg1, dzq arg2, dhl arg3, jh 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(fgs$a arg0, fgw 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 arg2, float x, float y, float z, float u, float v)
public void
a(dhi arg0)
setLevel(Level arg0)
method_3944(class_1937 arg0)
setWorld(World world)
public double
b(bvk 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
d()
getItemInHandRenderer()
method_43336()
getHeldItemRenderer()
public void
a(avv arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
reload(ResourceManager arg0)