Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping for advancements and client packages #288

Open
wants to merge 3 commits into
base: versions/1.21.x
Choose a base branch
from

Conversation

PiTheGuy
Copy link
Member

No description provided.

@PiTheGuy PiTheGuy requested a review from a team as a code owner June 26, 2024 22:19
@PiTheGuy PiTheGuy added mappings Changes to the mapping data 1.21.x For Minecraft 1.21.x labels Jun 30, 2024
@@ -34,8 +34,8 @@ CLASS net/minecraft/client/renderer/LevelRenderer
ARG 10 blue
ARG 11 alpha
METHOD addFrustumQuad (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lorg/joml/Matrix4f;IIIIIII)V
ARG 1 consumer
ARG 2 matrix
ARG 1 buffer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the change from consumer to buffer in these methods, since the type is VertexConsumer?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

buffer is more correct. The VertexConsumer is always sourced from MultiBufferSource.getBuffer() and represents a buffer.

Comment on lines +6 to +7
ARG 0 pose
ARG 1 buffer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RE: Why the change from consumer to buffer for type VertexConsumer?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

buffer is more correct. The VertexConsumer is always sourced from MultiBufferSource.getBuffer() and represents a buffer.

@PiTheGuy PiTheGuy closed this Jul 6, 2024
@PiTheGuy PiTheGuy deleted the advancement-and-client-mappings branch July 6, 2024 19:22
@PiTheGuy PiTheGuy restored the advancement-and-client-mappings branch July 6, 2024 23:46
@PiTheGuy PiTheGuy reopened this Jul 6, 2024
@PiTheGuy PiTheGuy requested a review from sciwhiz12 July 6, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21.x For Minecraft 1.21.x mappings Changes to the mapping data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants