Roughly Enough Items Fabric/Forge/NeoForge (REI)

Roughly Enough Items Fabric/Forge/NeoForge (REI)

40M Downloads

[Feature] Custom sorting of mod order

Pipsqueak737 opened this issue ยท 1 comments

commented

What is your feature request?

It would be a helpful option if there was a way to manually sort the mods instead of just choosing from registry, alphabetical names, etc. JEI has a feature like this that I use quite often, and I think it would improve this mod a lot as well.

What do you think this change is of?

  • Visual
  • Recipe Lookup
  • Cheat Mode
  • Plugin Integration / JEI Plugin Compatibility
  • Others
commented

I'm not sure what kind of sorting this request refers to, but I'd like to add that JEI offers mods the ability to provide a custom sorting order for any categories they define. For example, Botania's mana infusion recipes are grouped by the catalyst type (none, alchemy, conjuration), then by their "group" (subcategories of recipes that are essentially a cycle, e.g. converting between stone types, converting between flowers, turning ghast tears into ender pearls and vice versa, etc.) and finally by the ID.
I would also like to point out that nobody really has any control over the registry order, since that is typically filled from randomly ingested JSON files and is stored in a hash map (i.e. in a pseudorandom order). In other words, even if mods wanted to, they couldn't suggest a default order of their own recipes this way.