Building Gadget Refined Storage Bridge
Adds a bridge allowing Building Gadgets to insert and extract items/fluids from Refined Storage 2 networks.
介绍
Building Gadget Refined Storage Bridge
日本語版は README_ja.md を参照してください。
A Kotlin-based mod for NeoForge 1.21.1.
Adds the refined_storage_bridge block. By specifying this block as the bind to inventory target in Building Gadgets 2, the Building Gadget can insert and extract items and fluids from a Refined Storage 2 network.
Prerequisites
- Building Gadgets 2
>= 1.3.9 - Refined Storage 2
>= 2.0.1
Usage
- Build a Refined Storage 2 network and connect the
refined_storage_bridgeblock to a cable. - While holding a Building Gadget, right-click the bridge block to
bind to inventory. - When placing or exchanging blocks with the Gadget, items will be pulled from the RS network.
- Removed blocks are returned to the RS network.
Checking Status
Right-clicking the bridge block with an empty hand shows the current connection state.
| Display | State |
| ————- | —————————————————————- |
| Connected | Successfully connected to the RS network |
| Disconnected | The cable is disconnected or no network was found |
| Inactive | The network does not have enough power |
When power stops or the cable is cut, the bridge immediately halts operation (fail-closed).
Inventory layout rebuilds are batched at most once per ~1 second, even during continuous network updates. Actual item insertion and extraction continue to work normally in the meantime, but there may be a slight delay before the item count and sort order are reflected in the GUI.
Limitations
- No GUI.
- Only
ItemHandler.BLOCKis used for the connection with Building Gadgets 2 (other interfaces are not supported). - Connects to Refined Storage 2 via the official API. Runtime reflection is used only for display conversion of resource names.
- Owner restrictions and RS security integration are not implemented.
Development
Installation
- Run
./gradlew build. - Place the generated jar from
build/libs/into the Minecraftmods/folder.
build/libs/
├── refined_storage_bridge-<version>.jar ← place this in mods/
└── refined_storage_bridge-<version>-sources.jar ← sources (optional)
常见问题
Building Gadget Refined Storage Bridge 支持哪些 Minecraft 版本?
Building Gadget Refined Storage Bridge 支持 Minecraft Java 版 1.21.1–26.1,共 12 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Building Gadget Refined Storage Bridge 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分