All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Lightweight Inventory Sorting

Lightweight Inventory Sorting

by borknbeans • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Lightweight Inventory Sorting

Simple, lightweight inventory sorter for Fabric (works in multiplayer!)

CLIENT-SIDE ONLY

Gif showing item sorting in container

Features

  • Sorts items alphanumerically (or reverse)
  • Combines like items into stacks
  • Works in the following containers:
    • Chests (single/double, minecart, boat, etc)
    • Ender Chests
    • Barrels
    • Shulker Boxes
    • Player Inventory
  • Customizable settings (requires Cloth Config)
    • Button sizing and placement
    • Sorting type
    • Keybind for sorting

Required Dependencies

Optional Dependencies

License

This mod is distributed under MIT License

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
1d ago 1
26.1.x
Fabric
1d ago 1
26.2
Fabric
1d ago 1
26.2
Fabric
1d ago 1
26.2
Fabric
1d ago 1
26.1.x
Fabric
1d ago 1
26.1.x
Fabric
1d ago 1
1.21.11
Fabric
1d ago 1
1.21.10
Fabric
1d ago 1
1.21.9
Fabric
1d ago 1
1.21.x
Fabric
1d ago 1
1.21.6
Fabric
1d ago 1
1.21.5
Fabric
1d ago 1
1.21.4
Fabric
1d ago 1
1.21.x
Fabric
1d ago 1
1.20.6
Fabric
1d ago 1
1.21.x
Fabric
1d ago 1
1.20.6
Fabric
1d ago 1
1.21
Fabric
1d ago 1
1.20.6
Fabric
1d ago 1
1.21
Fabric
1d ago 1
1.21
Fabric
1d ago 1
1.21
Fabric
1d ago 1
Update keybindings to support new SDL3 change
Backport 1.1.7 fix to 26.1.x
  • bug fix for creative inventory when searching
  • bump cloth config version dependency
  • port v1.1.6 to 26.2

NOTE:
  • the cloth config mod is not yet updated and therefore the mod menu config will not work, it may even crash your game if you try to open it!
  • add horse inventory sorting
  • add creative inventory sorting
  • better handling of restricted slots (i.e. armor slots)
Port the mod to 26.1.x (Special thanks to Alex9303!)

  • add a builtin resource pack to enable dark mode on the buttons
  • Potion sorting!
  • Now potions are sorting by potion type, duration, and strength!


As always, if you find any bugs please let me know in the discord!
Port to latest version
Updated to latest version
  • Rewrote sorting logic to be able to sort bundles in
  • Changed button textures to better fit the mod
  • Added new sort type which will sort like the creative inventory is organized



  • NOTE: IF YOU EXPERIENCE A BUG, LOOK IN THE LOGS FOR SOMETHING LIKE "Encoded Snapshot: <some code>".**

If you send that code to us as an issue on github, we can help fix the bug! All it does it encode the information in the inventory at the time of the sort so we can later replicate the issue!
  • Rewrote sorting logic to be able to sort bundles in
  • Changed button textures to better fit the mod
  • Added new sort type which will sort like the creative inventory is organized



  • NOTE: IF YOU EXPERIENCE A BUG, LOOK IN THE LOGS FOR SOMETHING LIKE "Encoded Snapshot: <some code>".**

If you send that code to us as an issue on github, we can help fix the bug! All it does it encode the information in the inventory at the time of the sort so we can later replicate the issue!
  • Added translations for Portugese
  • Minor updates for compatibility with 1.21.2+ versions
TL;DR Improved stability and less bugs + a keybind!

  • You can now set a keybind to sort the current screen!
  • Fixed sorting of items that are the same, but have different components (tipped arrows, potions w/ different durations, etc)
  • Translatable text replacing all of the text values (If you would like to add new languages check out the github, only english is implemented)
  • Different button texture when using reverse alphanumeric sorting
  • Logs are now outputted every time you sort so if you experience a crash/bug post the logs with a github issue!
  • Increased stability to prevent crashing
  • Corrupted config file no longer causes crashes
  • Lots of bug fixes to prevent sorting from failing
TL;DR Improved stability and less bugs + a keybind!

  • You can now set a keybind to sort the current screen!
  • Fixed sorting of items that are the same, but have different components (tipped arrows, potions w/ different durations, etc)
  • Translatable text replacing all of the text values (If you would like to add new languages check out the github, only english is implemented)
  • Different button texture when using reverse alphanumeric sorting
  • Logs are now outputted every time you sort so if you experience a crash/bug post the logs with a github issue!
  • Increased stability to prevent crashing
  • Corrupted config file no longer causes crashes
  • Lots of bug fixes to prevent sorting from failing
  • Significantly reduced the amount of click operations when sorting the inventory
  • This helps prevent the "Too many packets sent" message on multiplayer servers
  • Added optional Sort Delay setting to further slow down how quickly the inventory is sorted (milliseconds)
  • Removed unnecessary images from the source, resulting in a significantly smaller file size


This was a complete overhaul of how the sorting was done, so there may be bugs I have not found in my testing. If one is encountered feel free to leave an issue on the github board.
  • Significantly reduced the amount of click operations when sorting the inventory
  • This helps prevent the "Too many packets sent" message on multiplayer servers
  • Added optional _Sort Delay_ setting to further slow down how quickly the inventory is sorted (milliseconds)
  • Removed unnecessary images from the source, resulting in a significantly smaller file size

This was a complete overhaul of how the sorting was done, so there may be bugs I have not found in my testing. If one is encountered feel free to leave an issue on the github board.
Backport of v1.1.0 to Minecraft 1.20.6
  • Added JSON config file to save settings between sessions
  • Added support for ModMenu to allow for in game customization of settings
  • Added the following settings
  • Change sort type
  • Alphanumeric
  • Reverse alphanumeric
  • Change button size
  • Small
  • Medium
  • Large
  • Change button position in container
  • Change button position in inventory
Fixed bug where the sort button would be rendered in the top left of the inventory screen
Alphanumeric sorting in all storage containers.
Lightweight Inventory Sorting Icon
Download Lightweight Inventory Sorting
Select game version
Select platform