mezz / JustEnoughItems

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

[REQUEST] Configurable Ingredient List Tabs Bar #2661

Open sdarkwell opened 2 years ago

sdarkwell commented 2 years ago

Hello!

Though I suspect it's not an easy addition, there is a feature that I imagine would be very beneficial to many users-"Configurable Ingredient List Tabs Bar".

Description: User-configurable Ingredient List tabs that allow a user to filter so that only ingredients matching specific criteria are displayed. Selecting these tabs would only display specific Ingredients, within which a user could search using the search bar.

Possible Features/Implementation:

Reasoning I've spent a long time cleaning JEI's ingredient list in my personal modded Minecraft with a goal of displaying as few items as possible (though, many pages still). I've been using KubeJS to blacklist/hide large swaths of ingredients, especially those that are identical except for a dye color or the type of wood/stone/etc. In their place, I have been adding Information fields to note the availability of other variants. In doing so, issues have arisen:

Ultimately, blacklisting so many items that are still expected to be used in-game seems fraught with peril, thus I began pondering what the perfect solution might look like. I believe a Configurable Ingredient List Tab Bar would be it. :) Instead of facing the above issues, I could create categories to contain all Wood items, or all Oak items, or all Stairs, and this approach would make it easy to change on the fly.

Although I rarely use Creative Mode, I imagine this would also be a huge boon to those who use it more often. They could, after determining their block palette, create a series of tabs containing just those specific materials/colors from which to work.

I have no experience programming in Java, let alone creating Minecraft mods, but I do have experience in software development (in other languages), so I recognize this would likely be no small task--but, I hope that perhaps my suggestion might be considered for future implementation.

Regardless, thank you for your consideration. :)

Be well!

osirisgothra commented 1 year ago

is this still a thing? I remember there was sorta a thing in early NEI like this, it was slow as heck though, as back then things were single-threaded. I think this would definitely be a good thing to have. Maybe the groups could also allow for recipe items in full display, if possible. Tabs or buttons are fine, is this going to be done, or is there already a fork, might be. I know there is at least one (working) fork already going on so this might be delegated to another project or addon (though it might be better to have the interface and API written here at the core, and possibly implemented in an optional "addon" of sorts)

If not configurable subgroups, we could at least have a history side-tab thing for those things we searched in the past, which shouldn't be too-too hard to implement, maybe configure how many is shown on the side, or maybe decide that based on the current available display height and make it dynamic (if there is room for more, show more, and vice versa). This would be cool because I type a lot of the same requests often and it would be neat to have them right there on the side, sorted by how many times i've made that same query (or accessed that bar/item/recipe)

There would have to be some decisions made on what configuration options would become available for this of course. Since it is just a suggestion, I kinda rambled a bit, but hey no harm in asking. And as always; great mod keep it up!