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

Math helper consts / Animation mappings update #3285

Closed
wants to merge 3 commits into from

Conversation

Sollace
Copy link
Contributor

@Sollace Sollace commented Sep 3, 2022

This started with me wanting to just map the unknown fields in MathHelper, but then it led me to mapping the methods in there as well.

They're not used by anything (yet) so I've tried my best to document them based on what I can see them doing internally.

That also led me to working on the animation packages. Renamed some packages to be a little more consistent.

i.e. Transformation -> BoneAnimation (based on unobfuscated field names in Animation)

And also Animation -> Timeline (timeline being the technical term for a sequence of animations. Seems to remove some ambiguity of calling them both "animations")

Also renamed the corresponding fields in the same package (did not look outside of render/entity/animation - that can rather be another PR) and named some methods that were unmapped based on their usage and what I've learned from looking at the other animation classes whilst doing this PR.

@enbrain enbrain added refactor A PR that renames existing names. new A PR that maps mainly new names release A PR that targets a release version of Minecraft javadoc A PR that adds or refactors javadoc. labels Sep 3, 2022
@enbrain
Copy link
Contributor

enbrain commented Sep 3, 2022

Transformation rename relates to #3051.

@apple502j apple502j added the impactful A change that is likely to affect some mods. Will require more reviews. label Sep 4, 2022
@apple502j
Copy link
Contributor

Would like to have class rename split in a separate PR

@Sollace Sollace mentioned this pull request Sep 6, 2022
@Sollace
Copy link
Contributor Author

Sollace commented Sep 6, 2022

@apple502j

Would like to have class rename split in a separate PR

#3287

@Sollace Sollace closed this Sep 6, 2022
@Sollace Sollace deleted the math_helper_consts branch September 7, 2022 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impactful A change that is likely to affect some mods. Will require more reviews. javadoc A PR that adds or refactors javadoc. new A PR that maps mainly new names refactor A PR that renames existing names. release A PR that targets a release version of Minecraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants