mezz / JustEnoughItems

Item and Recipe viewing mod for Minecraft
https://www.curseforge.com/minecraft/mc-mods/jei
MIT License
789 stars 304 forks source link

[Suggestion]: Allow to configure collapsible "Groups" in the Item Grid #2764

Open MaPePeR opened 2 years ago

MaPePeR commented 2 years ago

Suggestion

It would be great, if it would be possible to group Items/Blocks into collapsible groups that cycle through all their variants to avoid clutter and reduce the amount of identical/nearly identical Items/Blocks being shown.

E.g. There would only be a single colored bed or wool block shown, that cycles through all variants, but when you click on it It will add all the other colors to the grid allowing you to access recipes/usages. Clicking it again would collapse the group again. Maybe draw a border and slight transparent background color to show what's part of a group. (Instead of adding the group content to the root grid a "pop up" could also work, but might be a lot more complicated?)

Setting up these groups should be possible as a mod author through API, but also through configuration (but maybe only through stuff like crafttweaker)?

Is that a feature, that you would consider useful/possible or something that is out of scope or not desirable for JEI?

mezz commented 2 years ago

I think this is a good idea. I want to create a way to create a popup to see an expanded view of "rotating ingredients" in general, so that you can explore what's in a dense recipe. I think that having something work similarly in the ingredient list could also be useful.

sdarkwell commented 2 years ago

Although the ability to create custom tabs might be more powerful (per #2661), I also really like this idea! :)

gardenappl commented 9 months ago

REI implements this, and the respective KubeJS plugin supports it. So with some scripting I can group all variations of Chipped/Rechiseled blocks into one entry, group all AE2 facades into one entry, etc. However I don't like REI as much because of performance issues. I'd love to see this feature in JEI instead.

Other people suggesting the same thing: #1676 #2918