promotional bannermobile promotional banner

Sort & Stack (Inventory Tweaks)

Sort & Stack. Sort any container in one click or with the middle mouse button, get a broken tool replaced automatically, sweep items across slots, give chests a type they only accept, and quick stack your loot into nearby chests.
Back to Files

coob-invtweaks-1.0.1.jar

File namecoob-invtweaks-1.0.1.jar
Uploader
AlfaCoobAlfaCoob
Uploaded
Sep 5, 2026
Downloads
9
Size
106.6 KB
Mod Loaders
Fabric
File ID
8812655
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:coob-invtweaks-1682236:8812655"

Learn more about Curse Maven

What's new

Changelog

All notable changes to Sort & Stack are listed here, newest first. The format follows Keep a Changelog. Versions are MAJOR.MINOR.PATCH: MAJOR for a rework or a new Minecraft version, MINOR for a new feature, PATCH for a bug fix and for every rebuilt release, even a cosmetic one.

[1.0.1] — 2026-09-05

Fixed

  • Auto-refill no longer fires when the player scrolls onto an empty hotbar slot. The handler remembered only which item had been held, so switching slots looked exactly like a stack running out and an item was pulled into the slot the player had just selected. It now remembers the slot as well and only refills the very slot the item disappeared from.

[1.0.0] — 2026-09-05

First release. Built for Minecraft 26.2 with Fabric Loader 0.19.3+, Fabric API and Java 25.

Added

  • Sorting in one click — three buttons in the corner above every container grid: grid, columns and rows. The same is available on middle click, which also cycles the layouts, and on the R key for the player inventory. The hotbar is never rearranged.
  • Sorting runs on the server, so it is applied at once instead of as a burst of simulated clicks, and slot-restricted menus such as furnaces are refused rather than scrambled.
  • Auto-refill — a broken tool or an emptied stack is replaced from the inventory into the same hotbar slot, preferring the least worn spare.
  • Drag to move — holding Shift or Ctrl and sweeping the mouse quick-moves every slot touched.
  • Container types, off by default — chests can be typed as wood, ores, tools, food, building blocks, redstone or General, and a typed chest only accepts its own category. The type replaces the container title, and the client knows it, so a refused shift-click never makes the item jump into the chest and back.
  • Custom container types in config/invtweaks-types.json, defined by item tags, exact item ids or "anything edible"; a type reusing a preset id replaces that preset.
  • A shulker box keeps its type when it is picked up and placed again.
  • Quick stack to nearby containers, off by default — a button in the inventory or the G key sends items into chests within range that already hold them. Chests typed as General are filled last and collect whatever no other chest accepted. The hotbar is left untouched.
  • Configuration file config/invtweaks.json for every feature above, including the quick stack radius, clamped to 3–16 blocks.
  • Game tests covering sorting and its layouts, refusal of slot-restricted menus, auto-refill, container types and quick stack, including the General chest.

This mod has no additional files