-
Notifications
You must be signed in to change notification settings - Fork 3
update to 1.20.6 #13
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
update to 1.20.6 #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @oliwoli, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
This pull request updates the project to Minecraft version 1.20.5. It seems like the author, oliwoli, is working on fixing broken files in the 1.20.5 version, specifically mentioning RuleBookGUI.java, TestUtils.java, and TestUtilsClient.java. The description highlights a breaking change in how ClientPlayNetworking.send is used. The changes involve updating the Minecraft version and related dependencies in minepkg.toml and gradle.properties.
Highlights
- Version Update: The Minecraft version has been updated from 1.20.2/1.20.4 to 1.20.5 in
gradle.propertiesandminepkg.toml. - Dependency Updates: Fabric version and related mappings have been updated to be compatible with Minecraft 1.20.5.
- Potential Breaking Changes: The pull request description mentions that
ClientPlayNetworking.sendis no longer working as expected in 1.20.5, indicating a need for code adjustments in the affected files.
Changelog
Click here to see the changelog
- .minepkg-lock.toml
- Updated Minecraft version from 1.20.4 to 1.20.2.
- Updated fabric version from 0.97.2+1.20.4.mpkg.1 to 0.91.6+1.20.2.mpkg.1.
- Updated mapping from 1.20.4+build.3 to 1.20.2+build.4.
- gradle.properties
- Updated Minecraft version from 1.20.2 to 1.20.5.
- Updated yarn mappings from 1.20.2+build.4 to 1.20.5+build.1.
- Updated fabric version from 0.91.6+1.20.2 to 0.97.8+1.20.5.
- Updated minecraft_version_range from >=1.20.2 <=1.20.4 to ~1.20.5.
- minepkg.toml
- Updated Minecraft version requirement from >=1.20.2 <=1.20.4 to ~1.20.5.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Did you know?
The Fabric mod loader for Minecraft is designed to be lightweight and modular, allowing for faster updates and greater flexibility compared to other mod loaders.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request updates the mod to Minecraft version 1.20.5. This involves changes to the .minepkg-lock.toml, gradle.properties, and minepkg.toml files to reflect the new version and dependencies. The core logic of the mod remains unchanged, focusing on version compatibility.
Merge Readiness
The pull request updates the mod to Minecraft version 1.20.5. Given the limited scope of changes and the absence of any identified high or critical severity issues, the pull request appears to be in good shape to be merged. However, it's advisable to have another reviewer examine the changes to ensure compatibility and stability with the updated Minecraft version. I am unable to directly approve the pull request, and recommend that others review and approve this code before merging.
|
Will take a bit longer as the networking needs to be rewritten. |
😎🙏 alright! Ofc, no worries. |
|
Should be good to go! Turns out there's no LibGui for 1.20.5 - which is actually a good thing as that's a garbage version anyway. Didn't touch the |
|
Okay damn, this is what you call "will take a bit longer"? 😆 That was hella quick |
|
What do you mean? It took so long, my apple pie is already gone! |
Yeah that's fine. If it were up to me, I'd gitignore it but I think I remember @fiws saying it's the same principle as a package-lock.json file when you use npm and you usually include that in commits too (can't really explain why though). Edit: some dude on stackoverflow said:
So... I guess when things get complicated a lock file makes sense. |
|
I think you could run |
|
That seemed to do it. |
|
That's fine with me, you're the one doing all the hard work anyway :P |
|
I'm not even sure how the commit message would look like though, I'll look up if it can be set somehow. |
|
Oh well, let's just see what happens. |
|
Aha, there's a popup that says "This commit will be authored by Oli" and it let's you choose the commit message and extended description, where it also says "Co-authored-by: Fourmisain", looks fine, so here we go. |
|
Oh, ok! |


3 Files are broken in 1.20.5:
For example
ClientPlayNetworking.send(TestUtils.SET_TIME_C2S, passedData);doesn't work anymore becauseIf you have time to fix it @Fourmisain 😅 But don't feel obliged