-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Item Group API #40
Item Group API #40
Conversation
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
...ary/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/impl/CreativeGuiExtensions.java
Outdated
Show resolved
Hide resolved
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/impl/ItemGroupExtensions.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
...ry/items/item_group/src/testmod/java/org/quiltmc/qsl/items/itemgroup/test/ItemGroupTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: LambdAurora <aurora42lambda@gmail.com>
library/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
...ary/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/impl/CreativeGuiExtensions.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
...ry/items/item_group/src/main/java/org/quiltmc/qsl/itemgroup/mixin/client/ItemGroupMixin.java
Outdated
Show resolved
Hide resolved
# Conflicts: # settings.gradle
cf3a447
to
e0a6490
Compare
Co-authored-by: LambdAurora <aurora42lambda@gmail.com>
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.
Last review got kinda lost with the force-push.
library/item/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/item/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
library/item/item_group/src/main/java/org/quiltmc/qsl/itemgroup/impl/CreativeGuiExtensions.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/quiltmc/qsl/itemgroup/impl/QuiltCreativePlayerInventoryScreenWidgets.java
Outdated
Show resolved
Hide resolved
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.
I will start to believe that I'm blind, but, qsl_
on namespaces isn't really used in any of the already merged modules, it's quilt_
instead.
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.
Almost all good!
library/item/item_group/src/main/resources/quilt_item_group.mixin.json
Outdated
Show resolved
Hide resolved
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.
The itemgroup's id is used in data-gen paths so it having a .
feels wrong to me, but it is valid so looks good.
library/item/item_group/src/main/java/org/quiltmc/qsl/itemgroup/api/QuiltItemGroup.java
Outdated
Show resolved
Hide resolved
…p/api/QuiltItemGroup.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
What is the current behavior when the fixed group is selected and you change the page |
@lenrik1589 I've never seen this, but being the same base as Fabric, it probably has the same bug. Do you have an example or way to reproduce the bug that I could try out? |
just make more than 2 pages and switch around while having search or survival inventory tabs open to see the first one |
Oh i understand now, that each page always goes back to the "first" group when switching pages. Not sure if I know the best way to fix this, but I can try to make something for it. |
since i am back to my new laptop i will also look into how i fixed this in my mod |
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.
also, i don't know if this is in the scope of the API but it would be nice to see improvements to the search tab, like block tag search and overall input handling
...group/src/main/java/org/quiltmc/qsl/itemgroup/mixin/client/CreativeInventoryScreenMixin.java
Outdated
Show resolved
Hide resolved
...group/src/main/java/org/quiltmc/qsl/itemgroup/mixin/client/CreativeInventoryScreenMixin.java
Show resolved
Hide resolved
While I like this idea, I feel like it has two main issues:
|
Definitely not in scope of QSL at this time, and this feature would also require moving item groups to be a core API, or else it would be inconsistently present. |
yeah, i see, it just felt that being able to search by item tags but not by block tags created inconsistent behavior in vanilla (i am working on porting what i had for 1.16.3 to 1.18.1 and it just seems that there had been questionable changes to mapping as well as game code) |
@lenrik1589 I updated the code so that tabs are now saved per page. |
oh, i didn't even think of having each tab remember what was open, it makes more sense than just setting tab to [some arbitrary position], yeah |
no worries! |
A port of Fabric's Item Group API with enhancements to increase usability and versitility.