net.minecraft.client.renderer.entity

public class EntityRenderDispatcher

implements ResourceManagerReloadListener

ftf
net.minecraft.client.renderer.entity.EntityRenderDispatcher
net.minecraft.class_898
net.minecraft.client.render.entity.EntityRenderDispatcher
net.minecraft.src.C_4330_

Field summary

Modifier and TypeField
private static final RenderType
e
SHADOW_RENDER_TYPE
field_21009
SHADOW_LAYER
f_114361_
private static final float
f
MAX_SHADOW_RADIUS
field_43377
field_43377
f_276493_
private static final float
g
SHADOW_POWER_FALLOFF_Y
field_43378
field_43378
f_276586_
private Map<EntityType<?>, EntityRenderer<?>>
h
renderers
field_4696
renderers
f_114362_
private Map<PlayerSkin$Model, EntityRenderer<? extends Player>>
i
playerRenderers
field_4687
modelRenderers
f_114363_
public final TextureManager
a
textureManager
field_4685
textureManager
f_114357_
private Level
j
level
field_4684
world
f_114366_
public Camera
b
camera
field_4686
camera
f_114358_
private org.joml.Quaternionf
k
cameraOrientation
field_21794
rotation
f_114367_
public Entity
c
crosshairPickEntity
field_4678
targetedEntity
f_114359_
private final ItemRenderer
l
itemRenderer
field_27759
itemRenderer
f_173995_
private final BlockRenderDispatcher
m
blockRenderDispatcher
field_38886
blockRenderManager
f_234576_
private final ItemInHandRenderer
n
itemInHandRenderer
field_38887
heldItemRenderer
f_234577_
private final Font
o
font
field_4689
textRenderer
f_114365_
public final Options
d
options
field_4692
gameOptions
f_114360_
private final EntityModelSet
p
entityModels
field_27760
modelLoader
f_173996_
private boolean
q
shouldRenderShadow
field_4681
renderShadows
f_114368_
private boolean
r
renderHitBoxes
field_4680
renderHitboxes
f_114369_

Constructor summary

ModifierConstructor
public (Minecraft client, TextureManager textureManager, ItemRenderer itemRenderer, BlockRenderDispatcher blockRenderManager, Font textRenderer, Options gameOptions, EntityModelSet modelLoader)

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)
m_114394_(E p_114396_, float arg1)
public <T extends Entity> EntityRenderer<? super T>
a(T arg0)
getRenderer(T arg0)
method_3953(T arg0)
getRenderer(T entity)
m_114382_(T arg0)
public void
a(cpv arg0, eqg arg1, biq 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)
m_114408_(C_1596_ p_114410_, C_3373_ p_114411_, C_507_ arg2)
public void
a(org.joml.Quaternionf arg0)
overrideCameraOrientation(org.joml.Quaternionf arg0)
method_24196(org.joml.Quaternionf arg0)
setRotation(org.joml.Quaternionf rotation)
m_252923_(org.joml.Quaternionf arg0)
public void
a(boolean arg0)
setRenderShadow(boolean arg0)
method_3948(boolean arg0)
setRenderShadows(boolean renderShadows)
m_114468_(boolean arg0)
public void
b(boolean arg0)
setRenderHitBoxes(boolean arg0)
method_3955(boolean arg0)
setRenderHitboxes(boolean renderHitboxes)
m_114473_(boolean arg0)
public boolean
a()
shouldRenderHitBoxes()
method_3958()
shouldRenderHitboxes()
m_114377_()
public <E extends Entity> boolean
a(E arg0, frg 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)
m_114397_(E p_114399_, C_4273_ p_114400_, double p_114401_, double arg3, double arg4)
public <E extends Entity> void
a(E arg0, double arg1, double arg2, double arg3, float arg4, float arg5, elp arg6, foe arg7, int arg8)
render(E arg0, double arg1, double arg2, double arg3, float arg4, float arg5, PoseStack arg6, MultiBufferSource arg7, int arg8)
method_3954(E arg0, double arg1, double arg2, double arg3, float arg4, float arg5, class_4587 arg6, class_4597 arg7, int arg8)
render(E entity, double x, double y, double z, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
m_114384_(E p_114386_, double p_114387_, double p_114389_, double p_114391_, float p_114393_, float arg5, C_3181_ arg6, C_4139_ arg7, int arg8)
private static void
a(elp arg0, elt arg1, biq arg2, float arg3)
renderHitbox(PoseStack arg0, VertexConsumer arg1, Entity arg2, float arg3)
method_3956(class_4587 arg0, class_4588 arg1, class_1297 arg2, float arg3)
renderHitbox(MatrixStack matrices, VertexConsumer vertices, Entity entity, float tickDelta)
m_114441_(C_3181_ p_114442_, C_3187_ p_114443_, C_507_ p_114444_, float p_114445_)
private void
a(elp arg0, foe arg1, biq arg2)
renderFlame(PoseStack arg0, MultiBufferSource arg1, Entity arg2)
method_23165(class_4587 arg0, class_4597 arg1, class_1297 arg2)
renderFire(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity)
m_114453_(C_3181_ p_114455_, C_4139_ p_114456_, C_507_ arg2)
private static void
a(elp$a arg0, elt 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)
m_114414_(C_3181_$C_3183_ p_114415_, C_3187_ p_114416_, float p_114417_, float p_114418_, float p_114419_, float p_114420_, float p_114421_)
private static void
a(elp arg0, foe arg1, biq arg2, float arg3, float arg4, cpy arg5, float arg6)
renderShadow(PoseStack arg0, MultiBufferSource arg1, Entity arg2, float arg3, float arg4, LevelReader arg5, float arg6)
method_23166(class_4587 arg0, class_4597 arg1, class_1297 arg2, float arg3, float arg4, class_4538 arg5, float arg6)
renderShadow(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Entity entity, float opacity, float tickDelta, WorldView world, float radius)
m_114457_(C_3181_ p_114458_, C_4139_ p_114459_, C_507_ p_114460_, float p_114461_, float p_114462_, C_1599_ p_114463_, float p_114464_)
private static void
a(elp$a arg0, elt arg1, dhf arg2, cpy arg3, gw 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)
m_277056_(C_3181_$C_3183_ p_277956_, C_3187_ p_277533_, C_2116_ p_277501_, C_1599_ p_277622_, C_4675_ p_277911_, double p_277682_, double p_277806_, double p_277496_, float arg8, float arg9)
private static void
a(elp$a arg0, elt arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
shadowVertex(PoseStack$Pose arg0, VertexConsumer arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
method_23162(class_4587$class_4665 arg0, class_4588 arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
drawShadowVertex(MatrixStack$Entry entry, VertexConsumer vertices, float alpha, float x, float y, float z, float u, float v)
m_114422_(C_3181_$C_3183_ p_114423_, C_3187_ p_114424_, float p_114425_, float p_114426_, float p_114427_, float p_114428_, float p_114429_, float p_114430_)
public void
a(cpv arg0)
setLevel(Level arg0)
method_3944(class_1937 arg0)
setWorld(World world)
m_114406_(C_1596_ arg0)
public double
b(biq arg0)
distanceToSqr(Entity arg0)
method_23168(class_1297 arg0)
getSquaredDistanceToCamera(Entity entity)
m_114471_(C_507_ arg0)
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)
m_114378_(double p_114380_, double arg1, double arg2)
public org.joml.Quaternionf
b()
cameraOrientation()
method_24197()
getRotation()
m_253208_()
public ItemInHandRenderer
d()
getItemInHandRenderer()
method_43336()
getHeldItemRenderer()
m_234586_()
public void
a(ant arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
reload(ResourceManager arg0)
m_6213_(C_77_ arg0)