ShulkerLayers
一个适用于 Minecraft 的 Fabric 模组,允许你将潜影盒放入其他潜影盒中,并支持配置嵌套深度。
功能介绍
原版 Minecraft 不允许将潜影盒放入另一个潜影盒中。ShulkerLayers 以受控的方式移除了这一限制:每个潜影盒都会获得一个隐藏的**层级(layer)**值,高层级的盒子可以容纳低层级的盒子。这使得你能够构建紧凑且有条理的存储系统,而无需陷入无限递归。

工作原理
- 层级(Layers)。 每个潜影盒都有一个整数
layer(默认为 0)。普通制作或战利品获得的潜影盒为第 0 层。
- 升级配方。 使用潜影贝壳按照“+”字形图案(与原版潜影盒的合成方式相同)包围任意潜影盒,可使其层级提升 1。输出结果会保留输入盒子的颜色、内容和自定义名称。
- 嵌套规则。 只有当内部盒子的层级 低于 外部盒子时,才能将其放入另一个潜影盒中。因此,第 0 层的盒子可以放入第 1 层的盒子;第 1 层的盒子可以放入第 2 层的盒子;以此类推。层级相等或更高的盒子将被拒绝放置。这保证了你永远无法进行无限嵌套。
- 工具提示。 层级 ≥ 1 的盒子会在其物品描述(tooltip)中显示其层级信息。

升级配方(其中 S = 潜影贝壳,B = 任意潜影盒):
S
S B S
S
配置
首次启动时,配置文件将生成于 <game>/config/shulkerlayers.json:
{
"maxDepth": 3
}
| Key |
Type |
Default |
Range |
Description |
maxDepth |
int |
3 |
0 – 64 |
潜影盒可升级到的最高层级。设为 0 将 effectively 禁用该配方。 |
Mod Menu 支持
安装 Mod Menu 后,maxDepth 也可以在游戏内的模组列表中直接编辑——更改立即生效(单人游戏),无需重启。Mod Menu 为可选组件:若未安装,则使用 JSON 文件进行配置。

ShulkerLayers
A Fabric mod for Minecraft that lets you pack shulker boxes inside shulker boxes, with a configurable nesting depth.
What it does
Vanilla Minecraft blocks placing a shulker box into another shulker box. ShulkerLayers lifts that restriction in a controlled way: every shulker box gets a hidden layer value, and a higher-layer box can hold lower-layer boxes inside it. This lets you build compact, organized storage without spiraling into infinite recursion.

How it works
- Layers. Every shulker box has an integer
layer (0 by default). A regular crafted/looted shulker box is layer 0.
- Upgrade recipe. Surround any shulker box with shulker shells in a
+ pattern (same as the original shulker box recipe) to bump its layer up by 1. The output keeps the input box's color, contents, and custom name.
- Nesting rule. A box may be placed inside another shulker box only if the inner box's layer is lower than the outer box's layer. So a layer-0 box fits into a layer-1 box; a layer-1 box fits into a layer-2 box; and so on. Boxes of equal or higher layer are rejected. This guarantees you can never nest infinitely.
- Tooltip. A box with layer ≥ 1 shows its layer in its tooltip.

The upgrade recipe (where S = shulker shell, B = any shulker box):
S
S B S
S
Configuration
A config file is created at <game>/config/shulkerlayers.json on first launch:
{
"maxDepth": 3
}
| Key |
Type |
Default |
Range |
Description |
maxDepth |
int |
3 |
0 – 64 |
Highest layer a shulker box can be upgraded to. 0 effectively disables the recipe. |
Mod Menu Support
With Mod Menu installed, maxDepth can also be edited in-game from the mod list — changes apply immediately (singleplayer), no restart needed. Mod Menu is optional: without it the JSON file is used.

评论 0
登录后参与评分
还没有评论,来抢沙发吧