SortEase — Stack-Size Aware Inventory Sorter (Forge 1.20.1)
SortEase is a one-key inventory sorter designed for big-stack and mod-heavy worlds. It never assumes a hardcoded 64 / 16 stack cap — every merge and placement is computed at runtime from the item's actual max stack size, so stacks of 1,073,741,823 (or larger) are handled safely with overflow-proof math.
Features
- Dynamic stack merging — duplicates merge up to the real per-item limit, never a magic number.
- Special-area protection — upgrade/filter/tool/void-style slots (e.g. Sophisticated Backpacks upgrade slots, Create: Storage ToolSlot / UpgradeSlot / VoidSlot) plus vanilla armor, offhand, crafting and result slots are left untouched by default.
- Visual slot classification overlay — press
Pin any container to see why each slot is treated the way it is. LMB cycles Auto → Force-sort → Ignore, RMB resets. Overrides are saved toconfig/sortease/slot_overrides.json. - Multiple sort modes — Merge only / By name / By registry id / By mod / By count, ascending or descending (press
Kto configure). - Safe & fast — every move is executed server-side through authoritative
mayPlace / mayPickup / insert / extractchecks. Large inventories are processed in per-tick chunks, so there is no lag spike.
Usage
| Key | Action |
|---|---|
O |
Sort the currently open container |
P |
Toggle slot classification overlay |
K |
Open SortEase settings |
Overlay colors: 🟩 main storage · 🟦 player inventory · cyan hotbar · 🟥 special / ignored.
Notes
- Install on both client and server (single-player integrated server counts as installed automatically).
- No required mod dependencies. Works with vanilla chests/barrels, Inventorio-style inventories, Sophisticated Backpacks, Create: Storage and similar.
- Source: https://github.com/Lin1848624/SortEase (GPL-3.0).
SortEase — 动态堆叠感知的一键整理模组(Forge 1.20.1)
SortEase 是一款面向大堆叠与多模组整合的 Forge 1.20.1 一键整理模组。整理逻辑不硬编码 64/16 堆叠上限:每次合并与放置都按物品当前的真实最大堆叠实时计算,1,073,741,823(乃至更大)级堆叠也能安全处理,全程 long 运算防溢出。
功能特性
- 动态堆叠合并 — 按物品实际上限合并散堆,绝不写死上限。
- 特殊区域自动保护 — 升级/过滤/工具/销毁类槽位(如精妙背包的升级槽、Create:Storage 的 ToolSlot / UpgradeSlot / VoidSlot),以及原版护甲、副手、合成格、结果格,默认一律不动。
- 槽位分类可视化 — 任意容器内按
P开启:看清每个槽位为何被这样归类。左键循环 自动 → 强制参与 → 忽略,右键恢复自动;覆写保存到config/sortease/slot_overrides.json。 - 多种排序模式 — 仅合并 / 按名称 / 按注册名 / 按所属模组 / 按数量,支持升/降序(按
K配置)。 - 安全且流畅 — 所有移动均由服务端通过
mayPlace / mayPickup / insert / extract权威校验执行;大容量背包按 tick 分片处理,不产生卡顿尖峰。
使用方法
| 按键 | 功能 |
|---|---|
O |
整理当前打开的容器 |
P |
开关槽位分类覆盖层 |
K |
打开 SortEase 设置 |
覆盖层颜色:🟩 主体存储 · 🟦 玩家主栏 · 青色 快捷栏 · 🟥 特殊/忽略。
说明
- 需在客户端与服务端同时安装(单人的集成服务端天然满足)。
- 无强制前置模组;兼容原版箱子/木桶、Inventorio 类界面、精妙背包、Create:Storage 等。
- 源码:https://github.com/Lin1848624/SortEase(GPL-3.0)。

