SimpleSorterR
一款轻量级的客户端侧背包整理模组。
功能特性
一键智能整理
打开容器或物品栏后,按下 R 键即可整理物品。
- 自动合并堆叠 — 自动将相同物品的部分堆叠合并为完整堆叠,释放宝贵的空格
- 创造模式标签原生排序 — 按照 Minecraft 创造模式标签页的顺序排列物品,并支持模组添加的物品
- 自定义排序顺序 — 在配置文件中调整
tabOrder 以更改标签页优先级
- 固定物品 — 配置
pinnedItems 可使特定物品始终排在最前面
- 动态容器黑名单 — 默认情况下所有储物容器均可整理(包括如 Reinforced Chests 等模组容器)。功能性容器通过
blockedContainers 中的精确类名排除;你也可以在打开容器时按下 B 键来自动切换其状态
- 无屏幕主背包整理 — 启用
sortInventoryWhenNoScreen 后,在未打开任何界面时按下 R 键可整理玩家主背包
- 配置热重载 — 直接编辑
simplesorter.json,下次按下 R 键整理时生效,无需重启游戏
- 纯客户端侧 — 整理通过模拟点击完成,因此服务器端不需要安装该模组
鼠标微调
Shift + 拖拽快速移动
按住 Shift 并左键拖拽跨越多个槽位 — 经过的每个槽位都会立即快速移动到对面的容器中。
适用于一次性移动大量槽位的情况。
Shift + 双击移动所有同类物品
当光标上持有物品时,对匹配的同类物品执行 Shift + 双击,即可将该容器中的所有完全相同的物品立即快速移动到另一侧。
适用于从箱子中拉取所有匹配物品的情况。
Space + 双击移动所有物品
按住 Space 并双击容器中的任意槽位,即可将该容器中的所有物品立即快速移动到对面。
适用于快速清空箱子的情况。
V + 双击存入匹配物品
按住 V 并双击容器中任意已填充的槽位,可将玩家主背包中与该槽位匹配的物品快速移动到容器中,但前提是该物品已经存在于容器中。
- 不会移动快捷栏槽位
- 不会移动被锁定的槽位
- 不会移动容器中尚不存在的物品
- 当光标持有物品时不会触发
适用于从主背包向已整理的箱子补充物品的情况。
槽位锁定
按住 Alt 并点击任意槽位即可将其锁定 — 锁定的槽位会显示覆盖层。
- 使用 R 键整理时,锁定的槽位绝不会移动
- 锁定的快捷栏槽位受到 Q 键丢弃保护(防止意外丢弃)
- 锁定状态自动保存且每个存档独立
- 再次按住 Alt + 点击可解锁
- 按住 Alt + 左键拖拽可在一次操作中锁定或解锁多个槽位。第一个槽位决定此次拖拽是锁定还是解锁
- 覆盖层颜色可通过
lockOverlayColor 自定义,支持 #RRGGBB 和 #AARRGGBB 格式
颜色值使用十六进制颜色代码。支持 #RRGGBB 和 #AARRGGBB 两种格式。8 位格式采用 ARGB 顺序:AA 表示透明度,RR 红色,GG 绿色,BB 蓝色。并非 RGBA。
常见 AA 值:40 非常透明,80 半透明,C0 几乎不透明,FF 完全不透明。示例:#80FF0000 半透明红色,#8000FF00 半透明绿色,#800000FF 半透明蓝色。
适用于将工具固定在特定槽位并减少意外丢弃的情况。
自动替换器
- 工具损坏替换 — 当手持工具损坏时,自动从背包中装备同类型的替代工具
- 可堆叠物品补给 — 当手持的可堆叠物品耗尽时(例如放置方块),自动从背包中补充
- 可在设置界面中开启/关闭
适用于需要反复更换物品进行建造或挖矿的场景。
Caps Lock + 双击批量丢弃
按住 Caps Lock 并双击任意槽位,即可丢弃该容器中的所有同类物品(使用 Q 键丢弃操作)。
适用于清除大量单一物品的情况。
游戏内配置
按下 Z + I(默认组合键)在游戏内打开图形化设置面板:
- 标签排序顺序 (tabOrder) — 自定义创造模式标签页的优先级
- 固定物品 (pinnedItems) — 指定始终排在最前面的物品 ID
- 容器黑名单 (blockedContainers) — 添加容器类名以排除整理,或在打开容器时按下 B 自动写入当前类名
- 锁定覆盖层颜色 (lockOverlayColor) — 自定义锁定槽位的覆盖层颜色,例如
#80FF0000
- 无屏幕整理 (sortInventoryWhenNoScreen) — 允许在未打开任何界面时使用 R 整理玩家主背包
- Z 键守卫开关 — 禁用 Z 键要求,仅按 I 即可打开设置
- 自动替换器开关 — 启用/禁用工具和物品的自动替换
- 本地化 UI — 设置界面会自动适配你的游戏语言(英文 / 中文)
如果安装了 Mod Menu,也可从其中访问。
高级设置可直接在 config/simplesorter.json 中编辑。更改将在下次按下 R 键整理时生效。
⚠️ blockedContainers 使用精确类名匹配,而非模糊匹配。根据映射和 Minecraft 版本的不同,类名可能显示为 GenericContainerScreenHandler 而非 ChestMenu;最安全的工作流程是打开目标容器并按下 B,让模组为你写入正确的名称。
依赖
| 依赖项 |
是否必需 |
备注 |
| Fabric Loader ≥ 0.16.5 |
✅ 必需 |
模组加载器 |
| Fabric API |
✅ 必需 |
核心 API 库 |
| Fabric Language Kotlin |
✅ 必需 |
Kotlin 运行时支持 |
| Cloth Config API |
❌ 已捆绑 |
配置界面框架(已包含在模组 jar 文件中) |
| Mod Menu |
❌ 可选 |
在模组列表中增加设置入口 |
安装方法
- 安装 Fabric Loader 和 Fabric API
- 下载 Fabric Language Kotlin 并将其放入你的
mods 文件夹
- 选择与你的 Minecraft 版本匹配的 jar 文件,并将其放入
mods 文件夹
- 启动游戏
键位参考
所有键位均显示在 Minecraft 的“控制”屏幕中的 SimpleSorterR 类别下,并可在该处进行修改。
| 按键 |
操作 |
上下文 |
| R |
整理并排序物品栏 |
当容器打开时;若启用,也可在无界面的情况下整理主物品栏 |
| Alt + 点击 |
锁定 / 解锁槽位 |
防止该槽位被整理 |
| Alt + 左键拖拽 |
批量锁定 / 解锁槽位 |
跨多个槽位拖拽 |
| B |
切换当前容器黑名单 |
当不应整理当前容器时 |
| Caps Lock + 双击 |
批量丢弃相同物品 |
快速清理大量堆叠物品 |
| Shift + 拖拽 |
快速移动多个槽位 |
按住 Shift 跨槽位拖拽 |
| Shift + 双击 |
移动所有相同物品 |
当鼠标光标持有物品时 |
| Space + 双击 |
移动容器中所有物品 |
一次性清空整个物品栏 |
| V + 双击 |
存入匹配物品 |
仅将主物品栏中已存在于容器内的物品移入 |
| Z + I |
打开设置界面 |
随时可用 |
SimpleSorterR
一款简单的 Minecraft 物品栏整理工具。
SimpleSorterR
A lightweight client-side inventory sorting mod.
Features
One-Key Smart Sorting
Open an inventory or container and press R to sort items.
- Auto Stack Merging — Automatically consolidates partial stacks of the same item into full stacks, freeing up valuable slots
- Creative Tab Native Sorting — Items are arranged using Minecraft’s Creative Mode tab order and support modded items
- Custom Sort Order — Adjust
tabOrder in the config file to change tab priority
- Pinned Items — Configure
pinnedItems to keep specific items always sorted first
- Dynamic Container Blacklist — All storage containers are sortable by default (including modded containers like Reinforced Chests). Functional containers are excluded by exact class names in
blockedContainers; you can also press B while a container is open to toggle it automatically
- No-Screen Main Inventory Sorting — Enable
sortInventoryWhenNoScreen to sort the player main inventory with R while no screen is open
- Config Hot-Reload — Edit
simplesorter.json directly, changes take effect on the next R-key sort without restarting the game
- Pure Client-Side — Sorting is performed by simulated clicks, so the server does not need the mod
Mouse Tweaks
Shift + Drag to Quick-Move
Hold Shift and left-click drag across multiple slots — every slot you pass over will be instantly quick-moved to the opposite inventory.
Useful when moving many slots at once.
Shift + Double-Click to Move All Same Items
While holding an item on your cursor, Shift + Double-Click on a matching item to instantly quick-move all identical items from that inventory to the other side.
Useful for pulling all matching items out of a chest.
Space + Double-Click to Move Everything
Hold Space and Double-Click any slot in a container to instantly quick-move every single item from that inventory to the opposite side.
Useful for quickly emptying a chest.
V + Double-Click to Deposit Matching Items
Hold V and Double-Click any filled slot in a container to quick-move matching items from the player main inventory into the container, but only when that item already exists in the container.
- Does not move hotbar slots
- Does not move locked slots
- Does not move items that are not already present in the container
- Does not trigger while an item is held on the cursor
Useful for topping up a sorted chest from your main inventory.
Slot Locking
Hold Alt and click any slot to lock it — locked slots display an overlay.
- Locked slots are never moved when sorting with R
- Locked hotbar slots are protected from Q-key drops (prevents accidental discarding)
- Lock state is automatically saved and independent per save file
- Alt + click again to unlock
- Hold Alt + left-click drag to lock or unlock multiple slots in one sweep. The first slot decides whether the drag locks or unlocks
- Overlay color can be customized with
lockOverlayColor, supporting both #RRGGBB and #AARRGGBB
Color values use Hex color codes. Both #RRGGBB and #AARRGGBB are supported. The 8-digit format uses ARGB order: AA opacity, RR red, GG green, BB blue. It is not RGBA.
Common AA values: 40 very transparent, 80 half transparent, C0 mostly opaque, FF fully opaque. Examples: #80FF0000 half-transparent red, #8000FF00 half-transparent green, #800000FF half-transparent blue.
Useful for keeping tools in fixed slots and reducing accidental drops.
Auto Replacer
- Tool Break Replacement — When a held tool breaks, automatically equips a replacement of the same type from your inventory
- Stackable Item Refill — When a held stackable item runs out (e.g. placing blocks), automatically refills from your inventory
- Can be toggled on/off in the settings screen
Useful when building or mining with repeated item replacement.
Caps Lock + Double-Click to Batch Drop
Hold Caps Lock and double-click any slot to drop all identical items in that inventory (using the Q-key drop action).
Useful for clearing large quantities of one item.
In-Game Configuration
Press Z + I (default combo) to open a graphical settings panel in-game:
- Tab Sort Order (tabOrder) — Customize the priority of Creative Mode tabs
- Pinned Items (pinnedItems) — Specify item IDs that always sort to the front
- Container Blacklist (blockedContainers) — Add container class names to exclude from sorting, or press B while a container is open to write the current class name automatically
- Lock Overlay Color (lockOverlayColor) — Customize locked-slot overlay color, for example
#80FF0000
- No-Screen Sort (sortInventoryWhenNoScreen) — Allow R to sort the player main inventory while no screen is open
- Z-Key Guard Toggle — Disable the Z-key requirement to open settings with just I
- Auto Replacer Toggle — Enable/disable automatic tool and item replacement
- Localized UI — Settings interface automatically adapts to your game language (English / Chinese)
Also accessible from Mod Menu if installed.
Advanced settings can be edited directly in config/simplesorter.json. Changes take effect on the next R-key sort.
⚠️ blockedContainers uses exact class-name matching, not fuzzy matching. Depending on mappings and Minecraft version, class names may look like GenericContainerScreenHandler instead of ChestMenu; the safest workflow is opening the target container and pressing B so the mod writes the correct name for you.
Requirements
| Dependency |
Required? |
Notes |
| Fabric Loader ≥ 0.16.5 |
✅ Required |
Mod loader |
| Fabric API |
✅ Required |
Core API library |
| Fabric Language Kotlin |
✅ Required |
Kotlin runtime support |
| Cloth Config API |
❌ Bundled |
Config screen framework (already included in the mod jar) |
| Mod Menu |
❌ Optional |
Adds a settings entry in the mod list |
Installation
- Install Fabric Loader and Fabric API
- Download Fabric Language Kotlin and place it in your
mods folder
- Pick the jar matching your Minecraft version and drop it into your
mods folder
- Launch the game
Keybind Reference
All keybinds appear under the SimpleSorterR category in Minecraft’s Controls screen and can be changed there.
| Key |
Action |
Context |
| R |
Sort & organize inventory |
While a container is open; can also sort the main inventory with no screen if enabled |
| Alt + Click |
Lock / Unlock slot |
Prevents that slot from being sorted |
| Alt + Left-Drag |
Batch lock / unlock slots |
Drag across multiple slots |
| B |
Toggle current container blacklist |
When the current container should not be sorted |
| Caps Lock + Double-Click |
Batch drop identical items |
Quickly clear large stacks |
| Shift + Drag |
Quick-move multiple slots |
Drag across slots while holding Shift |
| Shift + Double-Click |
Move all identical items |
While holding an item on cursor |
| Space + Double-Click |
Move all items from container |
Empty an entire inventory at once |
| V + Double-Click |
Deposit matching items |
Move only items already present in the container from main inventory |
| Z + I |
Open settings screen |
Available anytime |
SimpleSorterR
A simple Minecraft inventory sorting tool.
评论 0
登录后参与评分
还没有评论,来抢沙发吧