跳到正文

Shulkers In Bundles

Making bundles a little bit more convenient and useful by allowing to put shulkers in them

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Titlecard

"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 支持哪些 Minecraft 版本?

Shulkers In Bundles 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Shulkers In Bundles 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Lumynity Studios 的其他作品

查看全部 →