-
Notifications
You must be signed in to change notification settings - Fork 103
feature: Creative galacticraft gear inventory #540
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
Conversation
MaverXka
commented
Jan 4, 2026
Redrew Heavy Duty items in a modern Minecraft style.
…ed translation for config. "config.galacticraft.misc": "Misc", "config.galacticraft.misc.creative": "Creative", "config.galacticraft.misc.creative.enable_gearinv" : "Enable Creative Gear Inventory",
This reverts commit fa606f7.
Roelymole
left a comment
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.
Great work! Thanks for contributing!
This isn't necessarily an exhaustive review, but I feel like I am already in danger of overwhelming you with comments. A lot of the things I have picked up on are more a matter of style and following best practices.
Please put opening curly brackets on the same line (not on the next line) according to the Code style section of the contributing guidelines.
Please put spaces after commas as well as keywords such as if, for, while.
Preferably operators should have a space either side too.
You have overused accessors/invokers quite a bit to get this to work. I have left multiple comments which should hopefully guide you through how to replace these. Doing so should greatly reduce the number of double casts such as (AbstractContainerScreenAccessor) (Object) this that are required, which should be avoided where possible. This should have the added bonus of improving readability too!
If you have any questions please feel free to ask me.
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/AbstractContainerMenuMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
Roelymole
left a comment
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.
Thank you for making the changes I requested before! I have another batch of feedback for you. As you tidy up the code it becomes easier to spot some of these things, so continue with that as much as you can.
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
Creative switch button becomes invisible instead of moving out of screen
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
Roelymole
left a comment
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.
A few little things and then I think we might be there!
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Outdated
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/mixin/client/CreativeScreenMixin.java
Show resolved
Hide resolved
src/main/java/dev/galacticraft/mod/client/gui/widget/RadioButton.java
Outdated
Show resolved
Hide resolved
Roelymole
left a comment
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.
Thank you very much for all the hard work!