
"酷,更多的存储选项"
描述
Shulkers In Bundles 是一款小巧但支持多加载器且始终保持最新的 QoL 模组,它允许在一个 Bundle(束口袋)中放入最多 16 个潜影盒,从而让 Bundle 在后期游戏中变得稍微更有用一些。
为了防止单格无限存储的情况(例如利用该模组进行区块封禁玩家,或者仅仅是因为数据量过大导致服务器或你自己的单人世界过载),该模组添加、禁用并修改了一些机制:
- 默认情况下,你可以在一个 Bundle 中放入最多 16 个潜影盒
- 你仍然可以将一个 Bundle 放入另一个 Bundle 中,但:
- 你试图放入的那个 Bundle 不能包含另一个 Bundle 或潜影盒
- 你不能将 Bundle 或潜影盒放入已经位于潜影盒中的 Bundle 里
- 任何物品传输手段(如漏斗等)都无法将内部含有潜影盒或其他 Bundle 的 Bundle 输入到潜影盒中
针对 1.21.1 移植版本的额外更改:
- 回溯移植了 Bundle 的合成配方
- 无论你是否之前开启了实验性功能,Bundle 功能始终处于启用状态
开放 API
为了在不为我们为这么多版本和各种加载器艰难创建配置的情况下提供一定的自定义能力,
Shulkers In Bundles 提供了一个支持的 API,你可以轻松地在其他模组中添加此 API,以改变潜影盒在 Bundle 中所占的空间大小。
默认权重为 1/16,这意味着你可以在一个 Bundle 中容纳最多 16 个潜影盒。
示例 (Fabric)
此示例仅适用于 Shulkers In Bundles 1.2.2+// 在你的模组初始化类中;
package net.example.mod;
import org.apache.commons.lang3.math.Fraction;
// 从 Shulkers In Bundles 导入 ItemWeights 类
import net.justmili.shulkersinbundles.core.util.ItemWeights;
import net.fabricmc.api.ModInitializer;
public final class ExampleMod implements ModInitializer {
@Override
public void onInitialize() {
// 你可以设置潜影盒占据 Bundle 存储空间的比例
// 例如,1/8 意味着每个潜影盒占据 Bundle 的 1/8,
// 允许最多 8 个潜影盒放入一个 Bundle 中
ItemWeights.setShulker(Fraction.getFraction(1, 8));
// 分子和分母都被限制在 1 到 64 之间
// 例如,以下代码会被限制为 1/64:
// ItemWeights.setShulker(Fraction.getFraction(1, 69));
// 或者你只需设置分母
// 这将自动使用 1 作为分子
// 例如,这允许最多 24 个潜影盒放入一个 Bundle 中
ItemWeights.setShulker(24);
}
}
常见问题解答:是否可以在没有客户端的情况下在服务端运行?
可以。虽然如果没有安装该模组,Bundle 的工具提示看起来会有点奇怪,但客户端不需要安装该模组。常见问题解答:它会更新多久?
只要维护者还活着,大概就会一直更新。遇到问题、需要报告 Bug 或只是想聊天?加入我们的 官方社区 Discord 服务器!

"Cool, more storage options"
Description
Shulkers In Bundles is a small but multi-loader and always up-to-date QoL mod that makes bundles just a tiny bit more useful late-game
by allowing to put up to 16 shulker boxes in a single bundle.
To prevent infinite storage in a single slot, using the mod to e.g. chunk-ban people, or even just overloading servers or
your own singleplayer worlds with too much data, the mod adds, disables and modifies some things.
- You can put (by default) up to 16 shulker boxes in a bundle
- You can still put a bundle in a bundle, but:
- The bundle you're trying to insert can not contain a bundle or a shulker box
- You can't put bundles or shulker boxes into bundles that are already in a shulker box
- Any means of item transportation (hoppers etc.) can not input bundles with a shulker box or another bundle inside it into a shulker box
Additional changes for 1.21.1 port:
- Backported Bundle recipe
- Bundles are always enabled, even if you haven't turned on experimental features before
Open API
For a little bit of customization without us struggling to create configs for each loader for so many versions,
Shulkers In Bundles exposes a supported API which you can easily add into another mod to change how much space a shulker box takes up inside a bundle.
The default weight is 1/16, meaning you can fit up to 16 shulker boxes in a Bundle.
Example (Fabric)
This example only applies to Shulkers In Bundles 1.2.2+// In your mod initializer class;
package net.example.mod;
import org.apache.commons.lang3.math.Fraction;
// Import the ItemWeights class from Shulkers In Bundles
import net.justmili.shulkersinbundles.core.util.ItemWeights;
import net.fabricmc.api.ModInitializer;
public final class ExampleMod implements ModInitializer {
@Override
public void onInitialize() {
// You can set what fraction of the bundle's storage a shulker box takes up
// For example, 1/8th means each shulker box takes up 1/8th of the bundle,
// allowing up to 8 shulker boxes in a Bundle
ItemWeights.setShulker(Fraction.getFraction(1, 8));
// Both the numerator and denominator are clamped between 1 and 64
// For example, this would be clamped to 1/64:
// ItemWeights.setShulker(Fraction.getFraction(1, 69));
// Or you can just set the denominator
// This will automatically use 1 as the numerator
// For example, this allows up to 24 shulker boxes in a Bundle
ItemWeights.setShulker(24);
}
}
FAQ: Can it work server-side without the client?
It can. The client does not need the mod although the bundle tooltip will look a little cursed without it.FAQ: How long will it be kept updated?
As long as the maintainer lives, probably.Having issues, need to report a bug or just want to chat? Join our official community Discord server!
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Shulkers In Bundles
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Shulkers In Bundles - 1.2.2 版本发布
通用
- 新的更新日志格式
变更
- 更新了 API —— 不再需要通过 mixins 来改变一个 Bundle 中可容纳的潜影盒数量
- 现在你可以将不包含潜影盒或另一个 Bundle 的 Bundle 放入另一个 Bundle 中
- 不包含潜影盒或另一个 Bundle 的 Bundle 内部可以放置其他任何物品
错误修复/技术更改
- 可能提升了模组兼容性
- 修复了在 NeoForge/Forge 上可能出现的加载器版本不匹配问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧