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.
介绍
Sort & Stack
Description
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.
- Sorting in one click — three small buttons in the corner above every container grid: pack it
tight, sort into columns, or sort into rows. Middle-click does the same and cycles the layouts,
andRsorts your inventory at any time. Your hotbar is never rearranged. - Auto-refill — when a tool breaks or a stack of blocks runs out, the same item is pulled from
your inventory into the same hotbar slot. The least worn spare is chosen first. - Drag to move — hold Shift or Ctrl and sweep the mouse across slots to move everything you
touch in one gesture. - Container types (off by default) — give a chest a type: wood, ores, tools, food, building
blocks, redstone, or one you define yourself. A typed chest only accepts its own category, and its
type replaces the title so you can read a storage room at a glance. A shulker box keeps its type
when picked up and placed again. - Quick stack to nearby containers (off by default) — one button, or the
Gkey, 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.
Requirements
- Minecraft 26.2, Fabric Loader 0.19.3 or newer
- Fabric API
- Required on both the server and every client — the container features act on chests you have not
opened, which only a server can do
Installation
Put the mod jar and Fabric API into the mods folder. On a server, install both there as well.
Configuration
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.
常见问题
Sort & Stack (Inventory Tweaks) 支持哪些 Minecraft 版本?
Sort & Stack (Inventory Tweaks) 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Sort & Stack (Inventory Tweaks) 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分