按下 R,背包自动整理。 ✨
InventoryWizard 可一键整理你的物品栏、快捷栏和容器。同类物品归为一类(方块归方块、工具归工具、食物归食物),堆叠合并,并将武器和工具前置到快捷栏,为生存模式做好准备。模组物品同样支持。
✨ 功能特性
- 智能排序。 物品按种类(石头、木材、矿石、工具、武器、食物等)分组,再按名称排列,使相关物品相邻存放。
- 专为生存设计的快捷栏。 武器和工具排在前面,方便随时取用。
- 堆叠整洁合并。 部分堆叠会被合并,但附魔或重命名的物品绝不会与未附魔/未重名的普通物品合并。
- 三种排序模式:
- 默认: 按种类分组,再按名称排序
- 字母顺序: 按名称 A-Z 排序
- 基于堆叠: A-Z 排序,大堆优先,不合并
- 排序按钮: 位于物品栏、箱子和潜影盒标题旁,另有一个切换模式的按钮。
- 锁定槽位。 Alt+点击 快捷栏或物品栏中的槽位后,排序操作将不会移动该槽位中的物品。非常适合锁定剑、火把或食物。
- 滚动调整手持堆叠。 拿起一个堆叠后,向上滚动可从其原槽位多取一件物品,向下滚动则放回一件。此功能在任何服务器上均有效,无论是否安装插件。
- 兼容范围: 适用于你的物品栏、快捷栏、箱子、带锁箱子、桶、潜影盒、末影箱、矿车上的箱子以及船上的箱子。
? 使用方法
| 操作 |
效果 |
在任何界面中按 R 或 Shift+右键 |
整理当前界面 |
| 点击屏幕标题旁的 排序按钮 |
整理该物品栏或容器 |
| Alt+点击 某个槽位 |
锁定或解锁该槽位 |
| 手持堆叠时 滚动鼠标滚轮 |
取出或放回一件物品 |
以上按键均可在“控制”设置中重新绑定。所有选项(包括排序模式、音效、可整理的容器类型等)均在设置界面中配置(在 Fabric/Quilt 上通过 Mod Menu 打开,或在 NeoForge/Forge 上通过 Mods 列表打开)。
? 单人游戏与服务器
- 单人游戏与局域网: 只需安装模组即可。在你主持的局域网世界中也能正常工作。
- 服务器: 在服务器上安装 Paper 插件(支持 Paper 和 Spigot 1.21+)。此后,每位玩家都可通过 Shift+右键 或使用
/iwiz 命令进行整理,无需客户端模组。拥有模组的玩家仍可使用排序快捷键和按钮,且这些按钮会自动显示。
服务器命令:
/iwiz:整理当前界面
/iwiz container:整理你当前打开的容器
/iwiz mode:切换排序模式
/iwiz lock:锁定槽位
? 兼容性
- Minecraft 1.21 至 26.3
- 加载器: Fabric、Quilt、NeoForge 和 Forge。Fabric 和 Quilt 还需 Fabric API。
- 服务器插件: 支持 Paper 和 Spigot 1.21+
- 仅客户端模组。 除非你想实现服务器端排序,否则服务器端无需安装模组;若需服务器端排序,则服务器需要的是插件而非模组。
? 更多内容?
Wiki 涵盖了 使用方法和命令、排序模式、配置说明 以及 Paper 插件。
发现 Bug 或有新想法?欢迎加入 Discord 或在 GitHub 提交 Issue。
如果你喜欢 InventoryWizard,可以 请我喝杯咖啡 ☕
? AI 披露: 本项目的部分代码、测试和文档是在 AI 工具的辅助下编写的。所有由 AI 协助完成的更改均由维护者审核。
Press R and your inventory sorts itself. ✨
InventoryWizard sorts your inventory, hotbar and containers in one click. Blocks end up with blocks, tools with tools and food with food, stacks merge, and your hotbar is ready for survival with weapons and tools up front. Modded items work too.
✨ Features
- Smart sorting. Items are grouped by kind (stone, wood, ores, tools, weapons, food, ...) and then by name, so related items sit together.
- A hotbar built for survival. Weapons and tools go first, where you reach for them.
- Stacks merge cleanly. Partial stacks are combined, but enchanted or renamed items are never merged into plain ones.
- Three sort modes:
- Default: grouped by kind, then by name
- Alphabetical: A to Z by name
- Stack-based: A to Z, largest stacks first, without merging
- Sort buttons next to the inventory, chest and shulker box titles, plus a button to switch modes.
- Locked slots. Alt+Click a hotbar or inventory slot and sorting will never move it. Handy for your sword, torches or food.
- Scroll to adjust a held stack. After picking up a stack, scroll up to take one more item from its slot or down to put one back. This works on any server, plugin or not.
- Works with your inventory, hotbar, chests, trapped chests, barrels, shulker boxes, ender chests, and chest minecarts and boats.
🎮 How to use
| Action |
What it does |
R or Shift+Right Click in any inventory |
Sort it |
| Click the sort button by the screen title |
Sort that inventory or container |
| Alt+Click a slot |
Lock or unlock it |
| Scroll while holding a stack |
Take or return one item |
Both keys can be rebound in Controls. Every option, from sort mode to sound to which containers can be sorted, is in the settings screen (open it through Mod Menu on Fabric/Quilt, or the Mods list on NeoForge/Forge).
🌐 Singleplayer and servers
- Singleplayer and LAN: just install the mod. It also works in LAN worlds you host.
- Servers: install the Paper plugin on the server (Paper and Spigot 1.21+). Every player can then sort with Shift+Right Click and
/iwiz, with no mod needed. Players who do have the mod get the sort key and buttons as well, and they show up automatically.
Server commands: /iwiz sorts, /iwiz container sorts the container you have open, /iwiz mode switches modes, and /iwiz lock locks slots.
📦 Compatibility
- Minecraft 1.21 through 26.3
- Loaders: Fabric, Quilt, NeoForge and Forge. Fabric and Quilt also need Fabric API.
- Server plugin: Paper and Spigot 1.21+
- Client-side. You don't need it on a server unless you want server sorting, and then the server needs the plugin, not the mod.
📖 Need more?
The Wiki covers usage and commands, sort modes, configuration and the Paper plugin.
Found a bug or have an idea? Join the Discord or open an issue on GitHub.
If you enjoy InventoryWizard, you can buy me a coffee ☕
🤖 AI disclosure: Parts of this project, including code, tests and documentation, were written with the help of AI tools. All AI-assisted changes are reviewed by the maintainer.
评论 0
登录后参与评分
还没有评论,来抢沙发吧