Just Enough Items (JEI)

Just Enough Items (JEI)

391M Downloads

[REQUEST] Configurable Ingredient List Tabs Bar

sdarkwell opened this issue ยท 1 comments

commented

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:

  • Tabs Bar can either display to one side of the Ingredients List, or the screen as a whole
  • Tabs Bar can display either horizontally or vertically along any side, with an option to only display them when a function key (eg. ALT) is held.
  • Tabs can have colorized text in their titles
  • Tabs can display an ingredient icon on one side (customizable to account for position of the Tabs Bar and right-to-left languages)
  • Tabs can have no text at all and display only the aforementioned Ingredient icon
  • Tab contents can be defined with the same syntax used in Ingredient searches, allowing almost limitless combinations
  • An "All" tab that displays all items (not blacklisted from JEI itself) (able to be hidden)
  • A "Misc." tab that displays all items not included in other tabs (able to be hidden)

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:

  • Recipes do not show blacklisted ingredients as potential inputs
  • Inability to "cheat in" Ingredients when using KubeJS (KubeJS removes them from the list entirely); when not using KubeJS, having to enter Edit mode to search for the Ingredients
  • Decisions on what to hide and not hide become uncomfortably ambiguous. Stairs, for example: Do I hide all stairs and add Information to Oak Planks and Stone to note that both can be used to craft Fences, Slabs, Stairs, etc...; Do I keep Stone Stairs and Oak Stairs, and add notes to them that all Wood and Stone can be crafted into Stairs? What about the fact that not all Stone can be crafted into stairs? Any choices will be arbitrary.
  • Blacklisting makes it more difficult to reconsider what should be made visible, since hidden items are easily-forgotten

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!

  • S.
commented

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!