- Support for Minecraft 1.21.2 and 1.21.3
Let me know if there's any issues. I tested it and things seemed fine, but this is the first time for me updating a mod with significant changes to Minecraft under the hood. I won't be updating my own main world/server to 1.21.2 right away, so there might be problems I wouldn't notice myself.
- Small additional fix for #6: Middle-click-dragging stacks over empty inventory slots in Creative Mode now works as intended, the mod is no longer blocking vanilla behavior even when middle-click activation is configured.
No other functional changes, but some housekeeping: Added CI config and metadata for automated builds with publishing releases to Modrinth and GitHub.
- Special case sorting (shulker boxes, player heads, enchanted books, tools) is now applied regardless of sorting type (ID, name, category, mod) (#5)
- I still consider dropping different sorting types altogether, as I personally see no benefit to anything other than ID sorting with special case handling for best results; please let me know if and why you depend on other sort types
- Defining your own ignore lists now actually overrides the default ignore lists
- On the other hand, when not overriding them, the defaults are now properly respected; the crafting table is ignored by default, meaning you are no longer at risk of accidentally sorting your player inventory (despite having all player inventory sorting options disabled!) when having the crafting table open (#2)
- While testing this I noticed that the "hide sort button" ignore list doesn't seem to work properly; I don't think this is due to my changes – I have the buttons always disabled, so not a high priority for me to fix; might still remove the buttons completely (and/or the ignore list feature)
- The default action for the middle mouse button in Creative Mode ("pick stack") is no longer blocked by the mod (#6)
There should be no other functional changes despite a fair bit of code refactoring. That refactoring should make it a bit easier to work on future improvements (special case sorting for sherds, trims, ominous potions and more; better handling/grouping of certain blocks in general – e.g. sorting all different colored concretes together instead of mixing them with wool/terracotta/glass of the same color).
- Always sort shulker boxes to the front
- Only works properly in ID sorting mode
- Hence ID sorting mode is the new default
I had assumed this was already the case, but it was just a coincidence in my tests. If you were already using the mod, you may need to switch to ID sorting manually.
Might get rid of different modes altogether – I'd rather have one that works well. I'll check if I can make it work properly with the other modes first, though.