Hide glass and soul recipes from jei #696
No reviewers
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#696
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jei-hide"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This PR hides all colored glass from jei, and reduces the broken spawner to the first entry (allay).
The reasoning is that these don't add much to the user experience. They will still show up in recipes as ingredients of course.
Fixes crafting issues related to the powered spawner recipe not showing up.
Note:
Idea:
closes: #627
TODO
Breaking Changes
List any breaking changes in this section, such as: changed/removed APIs, changed or removed items/blocks or modifications to recipes and gameplay mechanics.
Checklist
What is the purpose of this change?
I think we need a different way of hiding these - removing the ingredients is breaking recipes:
@ -59,0 +67,4 @@ItemStack itemStack = output.get().getTypedValue().getIngredient();if (itemStack.is(EIOTags.Items.ENTITY_STORAGE)) {results = List.of(itemStack);StoredEntityData storedEntityData = itemStack.getOrDefault(EIODataComponents.STORED_ENTITY, StoredEntityData.EMPTY);I'm struggling to follow the new logic here - could you maybe explain what you've changed and why?
This is so our tooltip logic shows that this item needs a soul to work in jei. It doesn't show up anywhere else, just jei and creative inv. I would keep it like this since a machine with an empty component can be seen as one that needs a soul, while a machine without the component is one that will work without, but can potentially use one.
Verified the first one, the second one I'm unsure what you mean
@ -59,0 +67,4 @@ItemStack itemStack = output.get().getTypedValue().getIngredient();if (itemStack.is(EIOTags.Items.ENTITY_STORAGE)) {results = List.of(itemStack);StoredEntityData storedEntityData = itemStack.getOrDefault(EIODataComponents.STORED_ENTITY, StoredEntityData.EMPTY);This logic is to make it so the input soul and output soul match when searching. Otherwise they keep cycling and are out of sync.