Sort & Stack is a modern take on the classic Inventory Tweaks: no clutter on screen, just the inventory handling that should have been there all along — plus two ideas of its own.
R sorts your inventory at any time. Your hotbar is never rearranged.G key, sends items
into chests within range that already hold them, so nothing ends up scattered at random. Chests
typed as General collect whatever no other chest took.Sorting runs on the server, so it is instant rather than a burst of simulated clicks, and typed chests refuse an item before the client even predicts the move — no items jumping back and forth.
Put the mod jar and Fabric API into the mods folder. On a server, install both there as well.
Options live in config/invtweaks.json, created on first launch:
| Option | Default | Meaning |
|---|---|---|
showSortButtons |
true | Show the three sort buttons |
middleClickSorts |
true | Sort with the middle mouse button |
defaultSortMode |
GRID |
Layout for the sort key: GRID, COLUMNS, ROWS |
refillBrokenTools |
true | Replace a tool the moment it breaks |
refillEmptyStacks |
true | Refill the held stack when it runs out |
dragTransfer |
true | Shift or Ctrl plus mouse sweep moves items |
containerTypesEnabled |
false | Turn on typed containers |
quickStackEnabled |
false | Turn on quick stacking into nearby chests |
quickStackRadius |
10 | Search radius in blocks, clamped to 3–16 |
Custom container types go into config/invtweaks-types.json, which is created with an example.
A type lists item tags, exact item ids, and whether it accepts anything edible; giving it the id of
a built-in preset replaces that preset.