2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_761 net/minecraft/client/render/WorldRenderer
|
2022-04-27 12:40:20 -04:00
|
|
|
FIELD field_20793 rainSoundCounter I
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_20797 RAIN Lnet/minecraft/class_2960;
|
|
|
|
FIELD field_20798 SNOW Lnet/minecraft/class_2960;
|
2019-10-30 12:15:03 -04:00
|
|
|
FIELD field_20950 blockBreakingProgressions Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_20951 bufferBuilders Lnet/minecraft/class_4599;
|
2019-11-29 15:40:18 -05:00
|
|
|
FIELD field_21799 chunkUpdateSmoother Lnet/minecraft/class_4740;
|
2020-05-31 13:21:17 -04:00
|
|
|
FIELD field_25274 translucentFramebuffer Lnet/minecraft/class_276;
|
|
|
|
FIELD field_25275 entityFramebuffer Lnet/minecraft/class_276;
|
|
|
|
FIELD field_25276 particlesFramebuffer Lnet/minecraft/class_276;
|
|
|
|
FIELD field_25277 weatherFramebuffer Lnet/minecraft/class_276;
|
|
|
|
FIELD field_25278 cloudsFramebuffer Lnet/minecraft/class_276;
|
|
|
|
FIELD field_25279 transparencyShader Lnet/minecraft/class_279;
|
2021-04-11 08:08:23 -04:00
|
|
|
FIELD field_27740 frustum Lnet/minecraft/class_4604;
|
|
|
|
FIELD field_27741 blockEntityRenderDispatcher Lnet/minecraft/class_824;
|
2021-11-27 17:03:48 -05:00
|
|
|
FIELD field_34807 chunkInfos Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
|
2022-04-27 12:40:20 -04:00
|
|
|
FIELD field_34808 fullUpdateFuture Ljava/util/concurrent/Future;
|
|
|
|
FIELD field_34809 updateFinished Ljava/util/concurrent/atomic/AtomicBoolean;
|
|
|
|
FIELD field_34810 shouldUpdate Z
|
|
|
|
FIELD field_34811 nextUpdateTime Ljava/util/concurrent/atomic/AtomicLong;
|
2021-11-27 17:03:48 -05:00
|
|
|
FIELD field_34816 builtChunks Ljava/util/concurrent/BlockingQueue;
|
2022-04-27 12:40:20 -04:00
|
|
|
FIELD field_34817 renderableChunks Ljava/util/concurrent/atomic/AtomicReference;
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4055 noCullingBlockEntities Ljava/util/Set;
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4056 capturedFrustum Lnet/minecraft/class_4604;
|
2019-10-30 12:15:03 -04:00
|
|
|
FIELD field_4058 blockBreakingInfos Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4059 entityOutlineShader Lnet/minecraft/class_279;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_4060 LOGGER Lorg/slf4j/Logger;
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4061 END_SKY Lnet/minecraft/class_2960;
|
2021-04-03 10:01:53 -04:00
|
|
|
FIELD field_4062 viewDistance I
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4064 lastCameraYaw D
|
2022-10-26 10:05:20 -04:00
|
|
|
FIELD field_4065 capturedFrustumOrientation [Lorg/joml/Vector4f;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4069 lastCameraX D
|
|
|
|
FIELD field_4070 lastCameraChunkUpdateZ D
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4071 FORCEFIELD Lnet/minecraft/class_2960;
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4072 lastCloudsColor Lnet/minecraft/class_243;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4073 ticks I
|
2022-07-29 07:40:56 -04:00
|
|
|
FIELD field_4080 lastCloudRenderMode Lnet/minecraft/class_4063;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4081 lastCameraY D
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4082 lastCloudsBlockX I
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4083 lastTranslucentSortX D
|
|
|
|
FIELD field_4084 cameraChunkX I
|
|
|
|
FIELD field_4085 world Lnet/minecraft/class_638;
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4087 lightSkyBuffer Lnet/minecraft/class_291;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4088 client Lnet/minecraft/class_310;
|
|
|
|
FIELD field_4089 regularEntityCount I
|
2019-10-09 12:43:46 -04:00
|
|
|
FIELD field_4090 shouldCaptureFrustum Z
|
2022-10-26 10:05:20 -04:00
|
|
|
FIELD field_4091 capturedFrustumPosition Lorg/joml/Vector3d;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4094 cloudsBuffer Lnet/minecraft/class_291;
|
|
|
|
FIELD field_4095 DIRECTIONS [Lnet/minecraft/class_2350;
|
|
|
|
FIELD field_4096 lastCameraZ D
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4097 lastCloudsBlockY I
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4098 MOON_PHASES Lnet/minecraft/class_2960;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4101 entityOutlinesFramebuffer Lnet/minecraft/class_276;
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4102 darkSkyBuffer Lnet/minecraft/class_291;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4103 lastTranslucentSortY D
|
|
|
|
FIELD field_4104 lastCameraChunkUpdateX D
|
|
|
|
FIELD field_4105 cameraChunkY I
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4106 chunkBuilder Lnet/minecraft/class_846;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4107 cloudsDirty Z
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4108 CLOUDS Lnet/minecraft/class_2960;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4109 entityRenderDispatcher Lnet/minecraft/class_898;
|
|
|
|
FIELD field_4110 blockEntityCount I
|
2019-11-07 13:03:04 -05:00
|
|
|
FIELD field_4111 SUN Lnet/minecraft/class_2960;
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4112 chunks Lnet/minecraft/class_769;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4113 starsBuffer Lnet/minecraft/class_291;
|
|
|
|
FIELD field_4115 lastCameraPitch D
|
2019-11-26 18:53:20 -05:00
|
|
|
FIELD field_4116 lastCloudsBlockZ I
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_4118 lastTranslucentSortZ D
|
|
|
|
FIELD field_4119 playingSongs Ljava/util/Map;
|
|
|
|
FIELD field_4120 lastCameraChunkUpdateY D
|
|
|
|
FIELD field_4121 cameraChunkZ I
|
2022-04-19 06:06:11 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_898;Lnet/minecraft/class_824;Lnet/minecraft/class_4599;)V
|
|
|
|
ARG 1 client
|
|
|
|
ARG 2 entityRenderDispatcher
|
|
|
|
ARG 3 blockEntityRenderDispatcher
|
|
|
|
ARG 4 bufferBuilders
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_16037 scheduleSectionRender (Lnet/minecraft/class_2338;Z)V
|
|
|
|
ARG 1 pos
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 2 important
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18145 scheduleBlockRenders (III)V
|
2019-03-31 20:45:27 -04:00
|
|
|
ARG 1 x
|
|
|
|
ARG 2 y
|
|
|
|
ARG 3 z
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_18146 scheduleBlockRenders (IIIIII)V
|
2019-03-31 20:45:27 -04:00
|
|
|
ARG 1 minX
|
|
|
|
ARG 2 minY
|
|
|
|
ARG 3 minZ
|
|
|
|
ARG 4 maxX
|
|
|
|
ARG 5 maxY
|
|
|
|
ARG 6 maxZ
|
2020-05-30 14:31:17 -04:00
|
|
|
METHOD method_21596 scheduleBlockRerenderIfNeeded (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
|
2019-11-09 14:08:42 -05:00
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 old
|
|
|
|
ARG 3 updated
|
2022-10-26 10:05:20 -04:00
|
|
|
METHOD method_22710 render (Lnet/minecraft/class_4587;FJZLnet/minecraft/class_4184;Lnet/minecraft/class_757;Lnet/minecraft/class_765;Lorg/joml/Matrix4f;)V
|
2019-11-26 18:53:20 -05:00
|
|
|
ARG 1 matrices
|
2019-10-09 12:43:46 -04:00
|
|
|
ARG 2 tickDelta
|
|
|
|
ARG 3 limitTime
|
|
|
|
ARG 5 renderBlockOutline
|
|
|
|
ARG 6 camera
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 7 gameRenderer
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 8 lightmapTextureManager
|
|
|
|
ARG 9 positionMatrix
|
2019-10-09 13:17:26 -04:00
|
|
|
METHOD method_22712 drawBlockOutline (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_1297;DDDLnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
|
2021-01-23 16:21:31 -05:00
|
|
|
ARG 1 matrices
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 2 vertexConsumer
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 3 entity
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 4 cameraX
|
|
|
|
ARG 6 cameraY
|
|
|
|
ARG 8 cameraZ
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 10 pos
|
|
|
|
ARG 11 state
|
2020-06-15 17:08:07 -04:00
|
|
|
METHOD method_22713 tickRainSplashing (Lnet/minecraft/class_4184;)V
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 camera
|
2019-11-07 13:03:04 -05:00
|
|
|
METHOD method_22714 renderWeather (Lnet/minecraft/class_765;FDDD)V
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 manager
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 2 tickDelta
|
|
|
|
ARG 3 cameraX
|
|
|
|
ARG 5 cameraY
|
|
|
|
ARG 7 cameraZ
|
2019-10-09 12:43:46 -04:00
|
|
|
METHOD method_22977 renderEntity (Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;)V
|
|
|
|
ARG 1 entity
|
|
|
|
ARG 2 cameraX
|
|
|
|
ARG 4 cameraY
|
|
|
|
ARG 6 cameraZ
|
|
|
|
ARG 8 tickDelta
|
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* Fixed bad names
* Determined by the call to part.render(matrix, vertices, light, overlay)
which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)
* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
Meanhile VertexConsumerProvider is
* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* This is not a render method! It sets the yaw and pitch on the skull
* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
Not much to change there though
* These are known from EntityRenderDispatcher
* render calls renderLabelIfPresent
* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)
* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity
* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself
if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
if (float24 > 0.0f) {
renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
}
}
* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby
private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
float float8 = radius;
if (entity instanceof MobEntity) {
if (((MobEntity)entity).isBaby()) {
float8 *= 0.5f;
}
}
* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!
float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {
* Forgot this one
* This is all low-hanging fruit.
* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)
@Environment(EnvType.CLIENT)
public boolean shouldRenderFrom(double x, double y, double z) {
double double8 = this.getX() - x;
double double10 = this.getY() - y;
double double12 = this.getZ() - z;
double double14 = double8 * double8 + double10 * double10 + double12 * double12;
return this.shouldRenderAtDistance(double14);
}
* More things we know
* This is set by calling entity.getLeaningPitch
* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).
This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay
OverlayTexture.packUv(
OverlayTexture.getU(animationCounter),
OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)
* The final patches
* xrayEnabled -> isGlowing
* Commit suggestions/name changes I missed during rebase
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Fix typos
* yaw -> tickDelta
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* provider -> vertexConsumers
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* matrix -> matrices
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Fixed some encorrect names
* entry -> matrices
* textureU/V -> u/v
* isBanner -> isBannerBlock
* frustrum -> frustum
Co-Authored-By: Gegy <gegy1000@gmail.com>
* Fix broken/changed mappings for 20w10a
* grammar
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 07:06:32 -04:00
|
|
|
ARG 9 matrices
|
2019-12-02 08:47:40 -05:00
|
|
|
ARG 10 vertexConsumers
|
2019-10-09 12:43:46 -04:00
|
|
|
METHOD method_22979 checkEmpty (Lnet/minecraft/class_4587;)V
|
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* Fixed bad names
* Determined by the call to part.render(matrix, vertices, light, overlay)
which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)
* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
Meanhile VertexConsumerProvider is
* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* This is not a render method! It sets the yaw and pitch on the skull
* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
Not much to change there though
* These are known from EntityRenderDispatcher
* render calls renderLabelIfPresent
* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)
* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity
* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself
if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
if (float24 > 0.0f) {
renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
}
}
* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby
private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
float float8 = radius;
if (entity instanceof MobEntity) {
if (((MobEntity)entity).isBaby()) {
float8 *= 0.5f;
}
}
* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!
float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {
* Forgot this one
* This is all low-hanging fruit.
* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)
@Environment(EnvType.CLIENT)
public boolean shouldRenderFrom(double x, double y, double z) {
double double8 = this.getX() - x;
double double10 = this.getY() - y;
double double12 = this.getZ() - z;
double double14 = double8 * double8 + double10 * double10 + double12 * double12;
return this.shouldRenderAtDistance(double14);
}
* More things we know
* This is set by calling entity.getLeaningPitch
* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).
This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay
OverlayTexture.packUv(
OverlayTexture.getU(animationCounter),
OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)
* The final patches
* xrayEnabled -> isGlowing
* Commit suggestions/name changes I missed during rebase
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Fix typos
* yaw -> tickDelta
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* provider -> vertexConsumers
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* matrix -> matrices
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Fixed some encorrect names
* entry -> matrices
* textureU/V -> u/v
* isBanner -> isBannerBlock
* frustrum -> frustum
Co-Authored-By: Gegy <gegy1000@gmail.com>
* Fix broken/changed mappings for 20w10a
* grammar
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 07:06:32 -04:00
|
|
|
ARG 1 matrices
|
2019-11-07 13:03:04 -05:00
|
|
|
METHOD method_22980 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFF)V
|
2020-06-11 06:35:50 -04:00
|
|
|
COMMENT Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Note the coordinates the box spans are relative to current translation of the matrices.
|
|
|
|
ARG 0 matrices
|
|
|
|
ARG 1 vertexConsumer
|
|
|
|
ARG 2 x1
|
|
|
|
ARG 4 y1
|
|
|
|
ARG 6 z1
|
|
|
|
ARG 8 x2
|
|
|
|
ARG 10 y2
|
|
|
|
ARG 12 z2
|
|
|
|
ARG 14 red
|
|
|
|
ARG 15 green
|
|
|
|
ARG 16 blue
|
|
|
|
ARG 17 alpha
|
2019-11-07 13:03:04 -05:00
|
|
|
METHOD method_22981 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;DDDDDDFFFFFFF)V
|
2020-06-11 06:35:50 -04:00
|
|
|
COMMENT Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].
|
|
|
|
COMMENT The 3 axes centered at [x1,y1,z1] may be colored differently using xAxisRed, yAxisGreen, and zAxisBlue.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Note the coordinates the box spans are relative to current translation of the matrices.
|
Renderer mappings (#988)
* part.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* Fixed bad names
* Determined by the call to part.render(matrix, vertices, light, overlay)
which delegates to part.render(matrix, vertices, light, overlay, 1, 1, 1, 1)
* Now we extrapolate to everything that calls part.render(matrix, vertices, light, overlay)
Meanhile VertexConsumerProvider is
* Now we extrapolate to everything that cals pars.render(matrix, vertices, light, overlay, red, green, blue, alpha)
* This is not a render method! It sets the yaw and pitch on the skull
* Now we extrapolate to things that call mode.render(matrix, vertices, light, overlay, red, green, blue, alpha)
Not much to change there though
* These are known from EntityRenderDispatcher
* render calls renderLabelIfPresent
* Now we're looking at things which call EntityRenderDispatcher.render(entity, x, y, z, yaw, matrix, provider, light)
* In ClientPlayNetworkHandler.onItemPickupAnimation the second entity is gotten from packet.getCollectorEntityId and defaulted to the player if null. The first entity is an item entity or an experience orb entity
* Going back to EntityRenderDispatcher, we can see the code for rendering shadows was moved here from the renderer itself
if (this.gameOptions.entityShadows && this.renderShadows && entityRenderer14.shadowRadius > 0.0f && !entity.isInvisible()) {
double double22 = this.getSquaredDistanceToCamera(entity.getX(), entity.getY(), entity.getZ());
float float24 = (float)((1.0 - double22 / 256.0) * entityRenderer14.field_4672);
if (float24 > 0.0f) {
renderShadow(matrix, provider, entity, float24, tickDelta, this.world, entityRenderer14.shadowRadius);
}
}
* The last parameter is shadow radius, but to be sure we check, nd indeed it is reduced when the rendered entity is a baby
private static void renderShadow(MatrixStack matrix, VertexConsumerProvider provider, Entity entity, float float4, float tickDelta, WorldView world, float radius) {
float float8 = radius;
if (entity instanceof MobEntity) {
if (((MobEntity)entity).isBaby()) {
float8 *= 0.5f;
}
}
* float4 was a myster, but it's just passed down as-is and used to determine the opacity of the shadow!
float float16 = (float)((opacity - (y - pos.getY()) / 2.0) * 0.5 * world.getBrightness(pos));
if (float16 >= 0.0f) {
* Forgot this one
* This is all low-hanging fruit.
* EntityRenderDispatcher.shouldRender(entity, frustrum, x, y, z)
-> EntityRenderer.isVisible(entity, frustrum, x, y, z)
-> Entity.shouldRenderFrom(x, y, z)
@Environment(EnvType.CLIENT)
public boolean shouldRenderFrom(double x, double y, double z) {
double double8 = this.getX() - x;
double double10 = this.getY() - y;
double double12 = this.getZ() - z;
double double14 = double8 * double8 + double10 * double10 + double12 * double12;
return this.shouldRenderAtDistance(double14);
}
* More things we know
* This is set by calling entity.getLeaningPitch
* This is only overriden by CreeperEntityRenderer and returns a float computed from the fuse time.
The value is then passed to getOverlay where it's passed to OverlayTexture.getU(animationCounter).
This causes the creeper to flash white when active. The same method,
interestingly, will use the V to create the hurt/death overlay
OverlayTexture.packUv(
OverlayTexture.getU(animationCounter),
OverlayTexture.getV(entity.hurtTime > 0 || entity.deathTime > 0)
)
* The final patches
* xrayEnabled -> isGlowing
* Commit suggestions/name changes I missed during rebase
Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
* Fix typos
* yaw -> tickDelta
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* provider -> vertexConsumers
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* matrix -> matrices
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Fixed some encorrect names
* entry -> matrices
* textureU/V -> u/v
* isBanner -> isBannerBlock
* frustrum -> frustum
Co-Authored-By: Gegy <gegy1000@gmail.com>
* Fix broken/changed mappings for 20w10a
* grammar
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/particle/ItemPickupParticle.mapping
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-03-27 07:06:32 -04:00
|
|
|
ARG 0 matrices
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 1 vertexConsumer
|
|
|
|
ARG 2 x1
|
|
|
|
ARG 4 y1
|
|
|
|
ARG 6 z1
|
|
|
|
ARG 8 x2
|
|
|
|
ARG 10 y2
|
|
|
|
ARG 12 z2
|
|
|
|
ARG 14 red
|
2020-06-11 06:35:50 -04:00
|
|
|
ARG 15 green
|
|
|
|
ARG 16 blue
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 17 alpha
|
2020-06-11 06:35:50 -04:00
|
|
|
ARG 18 xAxisRed
|
|
|
|
ARG 19 yAxisGreen
|
|
|
|
ARG 20 zAxisBlue
|
2019-11-07 13:03:04 -05:00
|
|
|
METHOD method_22982 drawBox (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_238;FFFF)V
|
2020-06-11 06:35:50 -04:00
|
|
|
COMMENT Draws a box.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Note the coordinates the box spans are relative to current translation of the matrices.
|
|
|
|
ARG 0 matrices
|
|
|
|
ARG 1 vertexConsumer
|
|
|
|
ARG 2 box
|
|
|
|
ARG 3 red
|
|
|
|
ARG 4 green
|
|
|
|
ARG 5 blue
|
|
|
|
ARG 6 alpha
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD method_22983 drawShapeOutline (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_265;DDDFFFF)V
|
|
|
|
ARG 0 matrices
|
|
|
|
ARG 1 vertexConsumer
|
|
|
|
ARG 2 shape
|
|
|
|
ARG 3 offsetX
|
|
|
|
ARG 5 offsetY
|
|
|
|
ARG 7 offsetZ
|
|
|
|
ARG 9 red
|
|
|
|
ARG 10 green
|
|
|
|
ARG 11 blue
|
|
|
|
ARG 12 alpha
|
2021-11-27 17:03:48 -05:00
|
|
|
METHOD method_22986 (Lnet/minecraft/class_4597$class_4598;Lnet/minecraft/class_4588;Lnet/minecraft/class_1921;)Lnet/minecraft/class_4588;
|
|
|
|
ARG 2 renderLayer
|
2019-10-30 12:15:03 -04:00
|
|
|
METHOD method_22987 removeBlockBreakingInfo (Lnet/minecraft/class_3191;)V
|
2021-06-07 09:42:29 -04:00
|
|
|
ARG 1 info
|
2019-12-04 18:00:17 -05:00
|
|
|
METHOD method_22989 renderChunkDebugInfo (Lnet/minecraft/class_4184;)V
|
|
|
|
ARG 1 camera
|
2019-11-25 15:12:08 -05:00
|
|
|
METHOD method_22990 getEntityOutlinesFramebuffer ()Lnet/minecraft/class_276;
|
|
|
|
METHOD method_23793 getLightmapCoordinates (Lnet/minecraft/class_1920;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)I
|
2020-02-17 08:48:43 -05:00
|
|
|
ARG 0 world
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 state
|
|
|
|
ARG 2 pos
|
2019-11-25 15:12:08 -05:00
|
|
|
METHOD method_23794 getLightmapCoordinates (Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)I
|
2020-02-17 08:48:43 -05:00
|
|
|
ARG 0 world
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 pos
|
2020-06-07 11:02:50 -04:00
|
|
|
METHOD method_29360 getTranslucentFramebuffer ()Lnet/minecraft/class_276;
|
|
|
|
METHOD method_29361 getEntityFramebuffer ()Lnet/minecraft/class_276;
|
2020-05-31 13:21:17 -04:00
|
|
|
METHOD method_29362 getParticlesFramebuffer ()Lnet/minecraft/class_276;
|
2020-06-07 11:02:50 -04:00
|
|
|
METHOD method_29363 getWeatherFramebuffer ()Lnet/minecraft/class_276;
|
|
|
|
METHOD method_29364 getCloudsFramebuffer ()Lnet/minecraft/class_276;
|
2020-05-31 13:21:17 -04:00
|
|
|
METHOD method_29365 loadTransparencyShader ()V
|
2020-06-07 11:02:50 -04:00
|
|
|
METHOD method_29701 resetTransparencyShader ()V
|
2022-10-26 10:05:20 -04:00
|
|
|
METHOD method_32133 setupFrustum (Lnet/minecraft/class_4587;Lnet/minecraft/class_243;Lorg/joml/Matrix4f;)V
|
2021-04-11 08:08:23 -04:00
|
|
|
ARG 1 matrices
|
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 projectionMatrix
|
2022-04-27 13:09:08 -04:00
|
|
|
METHOD method_3239 renderClouds (Lnet/minecraft/class_287;DDDLnet/minecraft/class_243;)Lnet/minecraft/class_287$class_7433;
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 builder
|
2019-11-26 18:53:20 -05:00
|
|
|
ARG 2 x
|
|
|
|
ARG 4 y
|
|
|
|
ARG 6 z
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 8 color
|
2019-11-26 18:53:20 -05:00
|
|
|
METHOD method_3241 getAdjacentChunk (Lnet/minecraft/class_2338;Lnet/minecraft/class_846$class_851;Lnet/minecraft/class_2350;)Lnet/minecraft/class_846$class_851;
|
2019-09-18 12:39:49 -04:00
|
|
|
ARG 1 pos
|
2019-11-26 18:53:20 -05:00
|
|
|
ARG 2 chunk
|
2019-09-18 12:39:49 -04:00
|
|
|
ARG 3 direction
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3242 onResized (II)V
|
2021-06-07 09:42:29 -04:00
|
|
|
ARG 1 width
|
|
|
|
ARG 2 height
|
2019-11-07 14:37:31 -05:00
|
|
|
METHOD method_3243 renderWorldBorder (Lnet/minecraft/class_4184;)V
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 camera
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3244 setWorld (Lnet/minecraft/class_638;)V
|
2021-01-23 16:21:31 -05:00
|
|
|
ARG 1 world
|
2019-11-26 18:53:20 -05:00
|
|
|
METHOD method_3245 updateNoCullingBlockEntities (Ljava/util/Collection;Ljava/util/Collection;)V
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 removed
|
|
|
|
ARG 2 added
|
2019-10-09 12:43:46 -04:00
|
|
|
METHOD method_3246 getCompletedChunkCount ()I
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3247 updateEntitiesForSong (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)V
|
|
|
|
ARG 1 world
|
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 playing
|
2019-09-27 12:23:24 -04:00
|
|
|
METHOD method_3250 renderEndSky (Lnet/minecraft/class_4587;)V
|
2020-05-20 17:57:06 -04:00
|
|
|
ARG 1 matrices
|
2022-10-26 10:05:20 -04:00
|
|
|
METHOD method_3251 renderLayer (Lnet/minecraft/class_1921;Lnet/minecraft/class_4587;DDDLorg/joml/Matrix4f;)V
|
2021-01-23 16:21:31 -05:00
|
|
|
ARG 1 renderLayer
|
|
|
|
ARG 2 matrices
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 3 cameraX
|
|
|
|
ARG 5 cameraY
|
|
|
|
ARG 7 cameraZ
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 9 positionMatrix
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3252 tick ()V
|
|
|
|
METHOD method_3254 drawEntityOutlinesFramebuffer ()V
|
2022-04-27 13:09:08 -04:00
|
|
|
METHOD method_3255 renderStars (Lnet/minecraft/class_287;)Lnet/minecraft/class_287$class_7433;
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 buffer
|
2022-10-26 10:05:20 -04:00
|
|
|
METHOD method_3257 renderSky (Lnet/minecraft/class_4587;Lorg/joml/Matrix4f;FLnet/minecraft/class_4184;ZLjava/lang/Runnable;)V
|
2020-05-20 17:57:06 -04:00
|
|
|
ARG 1 matrices
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 2 projectionMatrix
|
|
|
|
ARG 3 tickDelta
|
2019-11-07 13:03:04 -05:00
|
|
|
METHOD method_3258 drawBox (Lnet/minecraft/class_287;DDDDDDFFFF)V
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 0 buffer
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 1 x1
|
|
|
|
ARG 3 y1
|
|
|
|
ARG 5 z1
|
|
|
|
ARG 7 x2
|
|
|
|
ARG 9 y2
|
|
|
|
ARG 11 z2
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 13 red
|
|
|
|
ARG 14 green
|
|
|
|
ARG 15 blue
|
|
|
|
ARG 16 alpha
|
2022-10-26 10:05:20 -04:00
|
|
|
METHOD method_3259 renderClouds (Lnet/minecraft/class_4587;Lorg/joml/Matrix4f;FDDD)V
|
2019-11-26 18:53:20 -05:00
|
|
|
ARG 1 matrices
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 2 projectionMatrix
|
|
|
|
ARG 3 tickDelta
|
2019-11-26 18:53:20 -05:00
|
|
|
METHOD method_3265 renderDarkSky ()V
|
2021-11-01 09:27:53 -04:00
|
|
|
METHOD method_3267 cleanUp ()V
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3268 getRandomParticleSpawnChance (Z)Lnet/minecraft/class_4066;
|
|
|
|
ARG 1 canSpawnOnMinimal
|
2021-09-16 15:04:31 -04:00
|
|
|
METHOD method_3269 updateChunks (Lnet/minecraft/class_4184;)V
|
2021-11-18 04:09:02 -05:00
|
|
|
ARG 1 camera
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3270 canDrawEntityOutlines ()Z
|
|
|
|
METHOD method_3272 getEntitiesDebugString ()Ljava/lang/String;
|
2021-09-16 15:04:31 -04:00
|
|
|
METHOD method_3273 setupTerrain (Lnet/minecraft/class_4184;Lnet/minecraft/class_4604;ZZ)V
|
2021-09-24 08:08:11 -04:00
|
|
|
ARG 1 camera
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 2 frustum
|
|
|
|
ARG 3 hasForcedFrustum
|
2021-09-24 08:08:11 -04:00
|
|
|
ARG 4 spectator
|
2022-10-26 10:05:20 -04:00
|
|
|
METHOD method_3275 captureFrustum (Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;DDDLnet/minecraft/class_4604;)V
|
2021-10-27 10:16:30 -04:00
|
|
|
ARG 1 positionMatrix
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 3 x
|
|
|
|
ARG 5 y
|
|
|
|
ARG 7 z
|
|
|
|
ARG 9 frustum
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3276 addParticle (Lnet/minecraft/class_2394;DDDDDD)V
|
2018-12-20 11:38:09 -05:00
|
|
|
ARG 1 parameters
|
|
|
|
ARG 2 x
|
|
|
|
ARG 4 y
|
|
|
|
ARG 6 z
|
|
|
|
ARG 8 velocityX
|
|
|
|
ARG 10 velocityY
|
|
|
|
ARG 12 velocityZ
|
2019-11-26 18:53:20 -05:00
|
|
|
METHOD method_3277 renderLightSky ()V
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD method_3278 (Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;DDDFFFFDDDDDD)V
|
|
|
|
ARG 12 minX
|
|
|
|
ARG 14 minY
|
|
|
|
ARG 16 minZ
|
|
|
|
ARG 18 maxX
|
|
|
|
ARG 20 maxY
|
|
|
|
ARG 22 maxZ
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3279 reload ()V
|
|
|
|
METHOD method_3281 isTerrainRenderComplete ()Z
|
|
|
|
METHOD method_3282 spawnParticle (Lnet/minecraft/class_2394;ZDDDDDD)Lnet/minecraft/class_703;
|
2019-02-10 02:49:48 -05:00
|
|
|
ARG 1 parameters
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 alwaysSpawn
|
2019-02-10 02:49:48 -05:00
|
|
|
ARG 3 x
|
|
|
|
ARG 5 y
|
|
|
|
ARG 7 z
|
|
|
|
ARG 9 velocityX
|
|
|
|
ARG 11 velocityY
|
|
|
|
ARG 13 velocityZ
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3288 spawnParticle (Lnet/minecraft/class_2394;ZZDDDDDD)Lnet/minecraft/class_703;
|
2019-02-10 02:49:48 -05:00
|
|
|
ARG 1 parameters
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 alwaysSpawn
|
|
|
|
ARG 3 canSpawnOnMinimal
|
2019-02-10 02:49:48 -05:00
|
|
|
ARG 4 x
|
|
|
|
ARG 6 y
|
|
|
|
ARG 8 z
|
|
|
|
ARG 10 velocityX
|
|
|
|
ARG 12 velocityY
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 14 velocityZ
|
|
|
|
METHOD method_3289 getChunksDebugString ()Ljava/lang/String;
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD method_3291 drawCuboidShapeOutline (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_265;DDDFFFF)V
|
2021-01-23 16:21:31 -05:00
|
|
|
ARG 0 matrices
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 1 vertexConsumer
|
|
|
|
ARG 2 shape
|
|
|
|
ARG 3 offsetX
|
|
|
|
ARG 5 offsetY
|
|
|
|
ARG 7 offsetZ
|
|
|
|
ARG 9 red
|
|
|
|
ARG 10 green
|
|
|
|
ARG 11 blue
|
|
|
|
ARG 12 alpha
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3292 scheduleTerrainUpdate ()V
|
|
|
|
METHOD method_3293 renderStars ()V
|
|
|
|
METHOD method_3295 scheduleChunkRender (IIIZ)V
|
|
|
|
ARG 1 x
|
|
|
|
ARG 2 y
|
|
|
|
ARG 3 z
|
2019-11-07 13:03:04 -05:00
|
|
|
ARG 4 important
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_3296 loadEntityOutlineShader ()V
|
2022-04-27 13:09:08 -04:00
|
|
|
METHOD method_34550 renderSky (Lnet/minecraft/class_287;F)Lnet/minecraft/class_287$class_7433;
|
2021-11-01 09:27:53 -04:00
|
|
|
ARG 0 builder
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD method_34808 collectRenderableChunks (Ljava/util/LinkedHashSet;Lnet/minecraft/class_761$class_5972;Lnet/minecraft/class_243;Ljava/util/Queue;Z)V
|
|
|
|
ARG 1 chunks
|
|
|
|
ARG 2 chunkInfoList
|
|
|
|
ARG 3 cameraPos
|
|
|
|
ARG 4 queue
|
|
|
|
ARG 5 chunkCullingEnabled
|
2021-04-03 10:01:53 -04:00
|
|
|
METHOD method_34810 getChunkBuilder ()Lnet/minecraft/class_846;
|
|
|
|
METHOD method_34811 getChunkCount ()D
|
|
|
|
METHOD method_34812 getViewDistance ()D
|
2021-11-01 09:27:53 -04:00
|
|
|
METHOD method_35773 drawBox (Lnet/minecraft/class_4588;DDDDDDFFFF)V
|
|
|
|
COMMENT Draws a box spanning from [x1,y1,z1] to [x2,y2,z2].
|
|
|
|
ARG 0 vertexConsumer
|
|
|
|
ARG 1 x1
|
|
|
|
ARG 3 y1
|
|
|
|
ARG 5 z1
|
|
|
|
ARG 7 x2
|
|
|
|
ARG 9 y2
|
|
|
|
ARG 11 z2
|
|
|
|
ARG 13 red
|
|
|
|
ARG 14 green
|
|
|
|
ARG 15 blue
|
|
|
|
ARG 16 alpha
|
2021-05-19 08:45:15 -04:00
|
|
|
METHOD method_35774 reloadTransparencyShader ()V
|
2021-06-07 09:42:29 -04:00
|
|
|
METHOD method_35775 captureFrustum ()V
|
|
|
|
METHOD method_35776 killFrustum ()V
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD method_38549 enqueueChunksInViewDistance (Lnet/minecraft/class_4184;Ljava/util/Queue;)V
|
2021-11-01 09:27:53 -04:00
|
|
|
ARG 1 camera
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 2 queue
|
2021-11-27 17:03:48 -05:00
|
|
|
METHOD method_38550 addBuiltChunk (Lnet/minecraft/class_846$class_851;)V
|
|
|
|
ARG 1 chunk
|
2021-11-01 09:27:53 -04:00
|
|
|
METHOD method_38551 applyFrustum (Lnet/minecraft/class_4604;)V
|
|
|
|
ARG 1 frustum
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD method_38552 (Lnet/minecraft/class_2338;Lnet/minecraft/class_761$class_762;)D
|
|
|
|
ARG 1 chunkInfo
|
|
|
|
METHOD method_38553 isOutsideViewDistance (Lnet/minecraft/class_2338;Lnet/minecraft/class_846$class_851;)Z
|
2021-11-01 09:27:53 -04:00
|
|
|
ARG 1 pos
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 2 chunk
|
|
|
|
METHOD method_38554 (J)J
|
|
|
|
ARG 1 nextUpdateTime
|
2022-02-09 06:33:27 -05:00
|
|
|
METHOD method_40050 isRenderingReady (Lnet/minecraft/class_2338;)Z
|
|
|
|
ARG 1 pos
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8562 playSong (Lnet/minecraft/class_3414;Lnet/minecraft/class_2338;)V
|
|
|
|
ARG 1 song
|
2019-08-22 16:25:19 -04:00
|
|
|
ARG 2 songPosition
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8563 addParticle (Lnet/minecraft/class_2394;ZZDDDDDD)V
|
2018-12-20 11:38:09 -05:00
|
|
|
ARG 1 parameters
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 shouldAlwaysSpawn
|
2020-08-07 14:32:22 -04:00
|
|
|
ARG 3 important
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 4 x
|
|
|
|
ARG 6 y
|
|
|
|
ARG 8 z
|
|
|
|
ARG 10 velocityX
|
|
|
|
ARG 12 velocityY
|
2020-04-18 09:55:18 -04:00
|
|
|
ARG 14 velocityZ
|
2020-05-02 16:29:07 -04:00
|
|
|
METHOD method_8564 processGlobalEvent (ILnet/minecraft/class_2338;I)V
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 1 eventId
|
|
|
|
ARG 2 pos
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 3 data
|
2022-04-20 13:31:04 -04:00
|
|
|
METHOD method_8567 processWorldEvent (ILnet/minecraft/class_2338;I)V
|
2022-04-27 12:40:20 -04:00
|
|
|
ARG 1 eventId
|
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 data
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8568 addParticle (Lnet/minecraft/class_2394;ZDDDDDD)V
|
|
|
|
ARG 1 parameters
|
|
|
|
ARG 2 shouldAlwaysSpawn
|
2018-12-20 11:38:09 -05:00
|
|
|
ARG 3 x
|
|
|
|
ARG 5 y
|
|
|
|
ARG 7 z
|
|
|
|
ARG 9 velocityX
|
|
|
|
ARG 11 velocityY
|
|
|
|
ARG 13 velocityZ
|
2019-10-30 12:15:03 -04:00
|
|
|
METHOD method_8569 setBlockBreakingInfo (ILnet/minecraft/class_2338;I)V
|
|
|
|
ARG 1 entityId
|
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 stage
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8570 updateBlock (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
|
2020-02-17 08:48:43 -05:00
|
|
|
ARG 1 world
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 2 pos
|
2019-12-02 08:49:14 -05:00
|
|
|
ARG 3 oldState
|
|
|
|
ARG 4 newState
|
|
|
|
ARG 5 flags
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8571 scheduleBlockRender (III)V
|
|
|
|
ARG 1 x
|
|
|
|
ARG 2 y
|
|
|
|
ARG 3 z
|
2019-12-02 08:55:18 -05:00
|
|
|
CLASS class_762 ChunkInfo
|
2019-12-04 18:00:17 -05:00
|
|
|
FIELD field_4122 propagationLevel I
|
2019-12-02 08:55:18 -05:00
|
|
|
FIELD field_4124 chunk Lnet/minecraft/class_846$class_851;
|
2021-03-17 14:44:18 -04:00
|
|
|
FIELD field_4125 direction B
|
2019-12-04 18:00:17 -05:00
|
|
|
FIELD field_4126 cullingState B
|
2021-06-07 09:42:29 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_846$class_851;Lnet/minecraft/class_2350;I)V
|
|
|
|
ARG 1 chunk
|
|
|
|
ARG 2 direction
|
|
|
|
ARG 3 propagationLevel
|
2022-04-27 12:40:20 -04:00
|
|
|
METHOD equals (Ljava/lang/Object;)Z
|
|
|
|
ARG 1 o
|
2019-12-04 18:00:17 -05:00
|
|
|
METHOD method_3298 canCull (Lnet/minecraft/class_2350;)Z
|
|
|
|
ARG 1 from
|
|
|
|
METHOD method_3299 updateCullingState (BLnet/minecraft/class_2350;)V
|
|
|
|
ARG 1 parentCullingState
|
|
|
|
ARG 2 from
|
2021-04-11 08:08:23 -04:00
|
|
|
METHOD method_34813 hasAnyDirection ()Z
|
|
|
|
METHOD method_34814 hasDirection (I)Z
|
|
|
|
ARG 1 ordinal
|
|
|
|
METHOD method_34816 addDirection (Lnet/minecraft/class_2350;)V
|
|
|
|
ARG 1 direction
|
2020-06-07 11:02:50 -04:00
|
|
|
CLASS class_5347 ShaderException
|
2021-04-11 08:08:23 -04:00
|
|
|
METHOD <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
ARG 1 message
|
|
|
|
ARG 2 cause
|
|
|
|
CLASS class_5972 ChunkInfoList
|
|
|
|
FIELD field_29620 current [Lnet/minecraft/class_761$class_762;
|
2021-11-27 17:03:48 -05:00
|
|
|
METHOD <init> (I)V
|
|
|
|
ARG 1 size
|
2021-04-11 08:08:23 -04:00
|
|
|
METHOD method_34820 getInfo (Lnet/minecraft/class_846$class_851;)Lnet/minecraft/class_761$class_762;
|
2021-11-27 17:03:48 -05:00
|
|
|
ARG 1 chunk
|
2021-04-11 08:08:23 -04:00
|
|
|
METHOD method_34821 setInfo (Lnet/minecraft/class_846$class_851;Lnet/minecraft/class_761$class_762;)V
|
|
|
|
ARG 1 chunk
|
|
|
|
ARG 2 info
|
2022-04-27 12:40:20 -04:00
|
|
|
CLASS class_6600 RenderableChunks
|
|
|
|
FIELD field_34818 chunkInfoList Lnet/minecraft/class_761$class_5972;
|
|
|
|
FIELD field_34819 chunks Ljava/util/LinkedHashSet;
|
|
|
|
METHOD <init> (I)V
|
|
|
|
ARG 1 chunkCount
|