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

Various mappings, renames, and fixes #3715

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

Shnupbups
Copy link
Contributor

It's that time again, I went through some packages and mapped a few things, and fixed some issues I found along the way.
Maybe should be split up, but most of the classes are just one line changes so eh it's manageable I think
Only a few packages done, any further ones I do (if I do them) will be a separate PR

Notable renames include:

  • JigsawOrientation -> Orientation : it's used by Crafters too now!
  • CopperBulbBlock and OxidizableCopperBulbBlock -> BulbBlock and OxidizableBulbBlock : more consistent with how other copper related block classes are named in Yarn, and feels less constricting on how mods could use them
  • BambooSaplingBlock -> BambooShootBlock : Matches its in-game name rather than its ID. It doesn't extend the sapling class anyway!
  • Blocks#createBambooBlock -> Blocks#createLogBlock : It's used by Cherry Logs too now! Plus the previous name could confuse as to if it made Bamboo blocks, or Bamboo Block blocks. It was the latter. It just makes a log with a custom sound group.

Most other things are just mapping lambda params and a couple fields and method params.

@Shnupbups Shnupbups added bug Fixes or discusses a bug within the mappings refactor A PR that renames existing names. new A PR that maps mainly new names snapshot A PR that targets a snapshot version of Minecraft labels Nov 1, 2023
@Shnupbups Shnupbups requested a review from a team November 1, 2023 17:30
@apple502j apple502j requested review from YanisBft and a team November 2, 2023 05:07
@YanisBft YanisBft merged commit c39ab96 into FabricMC:23w44a Nov 2, 2023
8 checks passed
BD103 added a commit to BD103/TreeToppler that referenced this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes or discusses a bug within the mappings new A PR that maps mainly new names refactor A PR that renames existing names. snapshot A PR that targets a snapshot version of Minecraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants