预留槽位
保持你的物品栏井井有条!为特定物品预留并锁定槽位。
Reserved Slots 是一个客户端侧的 Fabric 模组,允许你为特定物品指定物品栏槽位,确保它们始终放入相同的位置。非常适合保持工具、食物和建筑材料的整洁有序!
✨ 特性
? 为特定物品预留槽位
为特定类型的物品预留一个槽位——当你拾取该物品时,它会自动进入其预留槽位。如果其他所有槽位都已满,其他物品仍可将预留槽位作为溢出空间使用。非常适合将镐子、剑和火把保持在固定位置!
? 锁定槽位以独占特定物品
锁定一个槽位,使其专用于特定类型的物品——即使你的物品栏已满,其他物品也无法进入该槽位。非常适合确保关键物品(如镐子或食物)始终拥有专属空间。
?️ 视觉指示器
- 深色背景:表示已预留/锁定的槽位
- 幽灵物品预览:在空的预留槽位上显示应放入的物品
- 挂锁图标:清晰标记已锁定的槽位
- 适用于物品栏和快捷栏
? 智能物品路由
拾取物品时,物品会自动路由至其预留槽位。无需每次挖矿后手动整理物品栏!
拾取到主物品栏
一种可选模式,可改变新物品填充物品栏的方式。启用后,物品会先填入主物品栏槽位(第 2–4 行),然后再填满快捷栏,从而保持快捷栏整洁且用途明确。可在模组设置界面切换此功能。
? 服务器兼容性检查
当你加入世界或服务器时,模组会自动检查服务器是否也安装了 Reserved Slots。如果服务器未安装该模组,客户端将在该会话中禁用所有槽位预留逻辑,并在聊天栏通知你——因此你可以在原版或模组服务器(未运行该模组)上安全地仅安装在客户端,而不会出现问题。
? 按世界持久化保存
你的预留槽位配置会与每个世界一起保存——不同世界可以有不同的设置。
? 使用方法
预留槽位
- 将物品放入你想预留的槽位
- 鼠标悬停在槽位上(在物品栏或快捷栏中)
- 按下 R(或你配置的快捷键)
- 该槽位现在已为该物品类型预留,并显示深色背景
锁定槽位
- 先预留槽位(遵循上述步骤)
- 鼠标悬停在已预留的槽位上时,再次按下 R
- 槽位将被锁定并显示挂锁图标——只有预留的物品类型可以进入,不允许其他物品进入
移除预留
- 第三次按下 R 即可循环恢复为普通槽位
模组设置
按下 打开 Reserved Slots 设置 快捷键(默认未绑定;需在 选项 → 控制 → Reserved Slots 中自行分配)以打开设置界面,在其中可切换 拾取到主物品栏 模式。
快捷键
| 操作 | 默认值 |
|---|---|
| 切换预留槽位 | R |
| 打开 Reserved Slots 设置 | (未绑定) |
自定义路径:选项 → 控制 → Reserved Slots
? 安装
- 安装 Fabric Loader
- 安装 Fabric API
- 从 Releases 下载 Reserved Slots
- 将
.jar文件放入mods文件夹 - 启动 Minecraft 26.1!
? 技术信息
- Minecraft 版本: 26.1
- 模组加载器: Fabric
- 必需依赖项: Fabric API 0.105.0+
- 适用端: 客户端与服务器(支持单人游戏和多人游戏)
- 服务器必需: 是 —— 模组必须安装在服务器上,槽位预留才能持久保存。如果服务器未安装该模组,客户端将自动在该会话中禁用自身。
?️ 从源码构建
git clone https://github.com/yourusername/reserved-slots.git
cd reserved-slots
./gradlew build
编译后的 .jar 文件位于 build/libs/ 目录中
? 许可证
本模组采用 MIT 许可证授权 — 详情请参阅 LICENSE 文件。
❓ 常见问题
问:这能在多人游戏中使用吗?
答:可以!多人游戏支持需要服务器也安装该模组。
问:我可以更改快捷键吗?
答:可以!前往 选项 → 控制 → Reserved Slots 来更改快捷键。
问:我的预留槽位会在不同世界之间保留吗?
答:不会,每个世界都有独立的槽位配置。
问:我可以预留盔甲槽或副手槽吗?
答:目前仅能预留主物品栏的 36 个槽位(包括快捷栏)。
享受井然有序的物品栏管理吧!?
Reserved Slots
Keep your inventory organized! Reserve and lock slots for specific items.
Reserve Slots is a client-side Fabric mod that lets you designate inventory slots for specific items, ensuring they always go to the same place. Perfect for keeping your tools, food, and building blocks organized!
✨ Features
? Reserve Slots for Specific Items
Reserve a slot for a specific item type - when you pick up that item, it automatically goes to its reserved slot. If all other slots are full, other items can still use reserved slots as overflow. Great for keeping your pickaxe, sword, and torches in the same spots!
? Lock Slots for Exclusive Items
Lock a slot to make it exclusively for a specific item type - no other items can ever enter that slot, even if your inventory is full. Perfect for ensuring critical items like your pickaxe or food always have their dedicated space.
?️ Visual Indicators
- Darkened backgrounds on reserved/locked slots
- Ghost item preview shows what belongs in empty reserved slots
- Padlock icon clearly marks locked slots
- Works in both inventory and hotbar
? Smart Item Routing
Items automatically route to their reserved slots when picked up. No more manually organizing your inventory after every mining trip!
� Pickup to Inventory
An optional mode that changes how new items fill your inventory. When enabled, items go to your main inventory slots (rows 2–4) first before filling the hotbar, keeping your hotbar clean and intentional. Toggle this in the mod settings screen.
? Server Compatibility Check
When you join a world or server, the mod automatically checks whether the server also has Reserved Slots installed. If the server does not have the mod, the client disables all slot-reservation logic for that session and notifies you in chat - so you can safely install the mod client-side without any issues on vanilla or modded servers that don't run it.
�? Per-World Persistence
Your reserved slot configurations are saved with each world - different worlds can have different setups.
? How to Use
Reserving a Slot
- Place an item in the slot you want to reserve
- Hover over the slot (in your inventory or hotbar)
- Press R (or your configured keybind)
- The slot is now reserved for that item type with a darkened background
Locking a Slot
- Reserve a slot first (follow steps above)
- Press R again while hovering over the reserved slot
- The slot locks and shows a padlock icon - only the reserved item type can enter, no other items allowed
Removing Reservation
- Press R a third time to cycle back to normal
Mod Settings
Press the Open Reserved Slots Settings keybind (unbound by default; assign one in Options → Controls → Reserved Slots) to open the settings screen where you can toggle Pickup to Inventory mode.
Keybindings
| Action | Default |
|---|---|
| Toggle Reserved Slot | R |
| Open Reserved Slots Settings | (unbound) |
Customize in: Options → Controls → Reserved Slots
? Installation
- Install Fabric Loader
- Install Fabric API
- Download Reserved Slots from Releases
- Place the
.jarfile in yourmodsfolder - Launch Minecraft 26.1!
? Technical Information
- Minecraft Version: 26.1
- Mod Loader: Fabric
- Required Dependencies: Fabric API 0.105.0+
- Side: Client & Server (works in single-player and multiplayer)
- Server required: Yes — the mod must be installed on the server for slot reservations to persist. If the server does not have the mod, the client will automatically disable itself for that session.
?️ Building from Source
git clone https://github.com/yourusername/reserved-slots.git
cd reserved-slots
./gradlew build
The compiled .jar will be in build/libs/
? License
This mod is licensed under the MIT License - see the LICENSE file for details.
❓ FAQ
Q: Does this work in multiplayer?
A: Yes! The mod needs to be installed on the server for multiplayer support.
Q: Can I change the keybinding?
A: Yes! Go to Options → Controls → Reserved Slots to change the keybind.
Q: Will my reserved slots carry over between worlds?
A: No, each world has its own independent slot configuration.
Q: Can I reserve armor slots or the offhand?
A: Currently, only the main 36 inventory slots (including hotbar) can be reserved.
Enjoy organized inventory management! ?
下载 Reserved Slots
下载 Reserved Slots
下载 Reserved Slots
下载 Reserved Slots
下载 Reserved Slots
下载 Reserved Slots
下载 Reserved Slots
下载 Reserved Slots
- 修复支持的游戏版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧