
一款轻量级、原生友好的模组,用于禁用箱子、漏斗、发射器和潜影盒等容器中的单个槽位。
✨ 功能特性
- 在支持的容器中禁用单个槽位
- 类似制造台(Crafter)的禁用槽位视觉效果
- 支持针对每个容器进行配置
- 可配置的比较器行为,用于处理禁用槽位
- 支持拖拽切换功能
- 潜影盒状态持久化
? 支持的容器
方块容器
- 箱子 (Chest)
- 陷阱箱 (Trapped Chest)
- 桶 (Barrel)
- 潜影盒 (Shulker Box)
- 漏斗 (Hopper)
- 发射器 (Dispenser)
- 投掷器 (Dropper)
- 酿造台 (Brewing Stand)
实体容器
- 带箱子的船 (Chest Boat)
- 带箱子的筏子 (Chest Raft)
- 带箱子的矿车 (Chest Minecart)
- 漏斗矿车 (Hopper Minecart)
?️ 操作控制
切换单个槽位
点击某个槽位即可在启用和禁用状态之间切换。

拖拽切换
点击并拖动鼠标跨越多个槽位,可将相同的切换状态应用于所有选中的槽位。

? 红石机制
比较器支持
禁用槽位可选择性地被视为已填充槽位,从而影响比较器的输出信号。
支持所有正常输出红石信号的容器。

漏斗与投掷器
漏斗和投掷器会尊重禁用槽位设置,不会向这些槽位中插入物品。


? 潜影盒状态持久化
当破坏并捡起潜影盒时,禁用槽位的状态可以得以保留。

⚙️ 配置选项
客户端配置
客户端设置可通过 Mod Menu 进行配置。
服务端配置
服务端配置允许:
- 为每个容器启用或禁用支持
- 为每个容器配置比较器行为
- 配置潜影盒状态持久化
? 依赖要求
? 重要提示:Selective Slots 必须同时安装在客户端和服务端
- Minecraft 1.21.11
- Fabric API
- Fabric Language Kotlin
可选:
?️ 兼容性
Selective Slots 目前仅支持原版容器。
第三方模组添加的容器需要显式的集成支持才能使用禁用槽位功能。
未来可能会增加 API 以简化集成过程。
? 许可证
本项目采用 MIT 许可证授权。

A lightweight, vanilla-friendly mod for disabling individual slots in containers like chests, hoppers, dispensers, and shulker boxes.
✨ Features
- Disable individual slots in supported containers
- Crafter-style disabled slot visuals
- Per-container configuration support
- Configurable comparator behavior for disabled slots
- Drag toggle support
- Shulker box persistence
? Supported Containers
Block Containers
- Chest
- Trapped Chest
- Barrel
- Shulker Box
- Hopper
- Dispenser
- Dropper
- Brewing Stand
Entity Containers
- Chest Boats
- Chest Raft
- Chest Minecart
- Hopper Minecart
?️ Controls
Toggle Individual Slots
Click a slot to toggle it between enabled and disabled.

Drag Toggle
Click and drag across multiple slots to apply the same toggle state to all selected slots.

? Redstone
Comparator Support
Disabled slots can optionally count as filled slots for comparator output.
Supports all containers that normally output redstone signals.

Hoppers & Droppers
Hopper, and droppers respect disabled slots and will not insert items into them.


? Shulker Box Persistence
Disabled slot states can persist when shulker boxes are broken and picked up.

⚙️ Configuration
Client Configuration
Client settings can be configured through Mod Menu.
Server Configuration
Server configuration allows:
- Enabling/disabling support per container
- Configuring comparator behavior per container
- Configuring shulker box persistence
? Requirements
? IMPORTANT: Selective Slots must be installed on both the client and server
- Minecraft 1.21.11
- Fabric API
- Fabric Language Kotlin
Optional:
?️ Compatibility
Selective Slots currently only supports vanilla containers.
Modded containers require explicit integration to support disabled slots.
API support for easier integration may be added in the future.
? License
This project is licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧