[SUGGESTION] Sorting rule enhancement
morgantic opened this issue ยท 4 comments
I have checked for similar
- I have searched for my issue and did not find it
Not a bug
- I swear this is an actual feature request
Why?
It would be pretty cool if you could define some basic sorting rules that would make my life using the sorter easier.
I like to have my inventory sorted my name, but have shulker boxes always at the beginning. That could be extended to bundles.
What?
Idk if there is a clever way to make it work for any sub-inventory container for modded instances, if we ignore that, I would imagine two rules: sortPositionBoxes and sortPositionBundles which can be either "default", "first" or "last", if it's first or last they get sorted by the default sorting rule but put before or behind everything else.
Any alternatives?
I could live with a generic sortPositionSubcontainer rule with the same 3 options instead, which just gets applied to everything that can store inventory recursively, like modded backpacks etc, if there's a clever way to identify those - or maybe provide an item tag for other modders they can apply so the sort rule recognizes the item? Just an idea.
Anything else?
No response
Though I might not be able to offer much help.
Are you referring to prioritizing specific items within a particular container?
No, not within a particular container. The rule should be active for any container.
I'm basically asking for being able to define a custom sort rule, but I'd be happy with only being able to define a custom behavior for items that have a sub-inventory, because logically I'd want them to be sorted by name amongst themselves, but in front or behind all other items in the inventory they're in.
Alright, my understanding is that you need a whitelist where items within it can be prioritized or deprioritized based on additional sorting rules, without specifying a specific container. Is this correct?
Oh! I might have misunderstood. Perhaps you meant that items with sub-inventories can be sorted based on the items stored within them?