
ae2linkrs
Connect the Refined Storage network to the AE grid as native AE2 storage cells (one-way bridge; AE can read and write to RS).
- Загрузки
- 205
- Подписчики
- 1
- Обновлён
- 11 августа 2026 г.
- Лицензия
- MIT
Опубликован 24 июля 2026 г.
rs2ae_cell
把 Refined Storage 2 的网络作为原生存储单元暴露给 Applied Energistics 2。
一个单向桥接:AE2 网络可以读取 / 写入绑定的 RS2 网络,RS2 不会反向访问 AE2。 相当于给 AE2 增加了一块「通往 RS 网络的实时窗口」存储磁盘。
适用版本:Minecraft 1.21.1 · NeoForge 1.21.1 · AE2 19.2.17 · Refined Storage 2 2.0.9
它能做什么
- 在 AE2 的驱动器 / ME 箱里放入本磁盘后,AE2 终端能直接看到并操作 RS 网络里的全部物品。
- 把 RS 当作 AE2 的「大仓库」:原料从 RS 取、产物存回 RS,AE2 只负责调度与(可选)自动合成。
- 支持 ME IO 端口:把 RS 网络里的物品经本磁盘批量导入 AE(与「超越维度的磁盘」行为一致)。
- 跨维度:磁盘绑定的是「维度 + 坐标」,因此可访问其它维度的 RS 网络。
它不能做什么
- 不桥接自动合成:本模组只桥接「物品存储」,不会把 RS2 的合成器暴露给 AE2 的 crafting 系统。 AE2 的自动合成请用 AE2 自己的样板 + 制作 CPU(原料/产物经本磁盘走 RS 存储)。
- 不是双向同步:只有 AE2 访问 RS;RS 一侧看不到 AE2 的物品。
用法
- 用合成表做出
RS 网络单元(配方见src/main/resources/data/rs2ae_cell/recipe/rs_network_cell.json)。 - 绑定:手持磁盘,对某个 RS 网络方块(如驱动器、网格、接口)潜行右键, 磁盘会记录目标所在的维度与坐标。
- 把磁盘放进 AE2 的驱动器或 ME 箱,AE2 即可读写该 RS 网络。
- 切换写入模式(右键磁盘):
- 全部:读全 + 写全。
- 仅不可堆叠:读全,但只把不可堆叠物品写入 RS(节省 AE 磁盘的 63 种类型配额; 不可堆叠磁盘照样能读到 RS 里的全部物品)。
提示:同一 RS 网络在同一 AE 网格内只由一块「主单元」负责读写,其余同网络单元自动转为 只读预览,避免 AE2 把同一 RS 内容重复计入。
依赖
| 模组 | 版本 |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 1.21.1 |
| Applied Energistics 2 | 19.2.17 |
| Refined Storage 2 | 2.0.9 |
从源码构建
需要 Java 21(推荐 GraalVM JDK 21)。
# Windows
./gradlew build
# 产物:build/libs/rs2ae_cell-<version>.jar
编译依赖位于 libs/rs2-1.21.1.jar(已随仓库提供,无需额外下载)。
构建脚本通过 Maven Central 拉取 AE2,通过本地 libs/ 拉取 RS2。
把产物 jar 丢进游戏的
mods/目录即可。首次加载请进游戏确认日志无InvalidModFileException等报错。
许可
MIT —— 自由使用、修改、再分发。
Ченджлог
1.7.3Релиз1.21.1 · 11 августа 2026 г.
Fix
Fixed: when multiple RS network cells bound to the SAME RS network are placed in an AE2 drive, the AE terminal showed duplicated item counts (actual stock unchanged).
Root cause was the dedupe key using the bound block position instead of the RS network identity. Now dedupe uses the resolved RS Network instance (object identity): all cells of one network share one slot, only one exposes content to AE, the rest become inert (no read/write, tooltip shows 'network already occupied'), eliminating double-counting.
WeakHashMap holds the primary reference so it is auto-cleared when the network is removed; added claimedNet tracking to clean up on key switch/release (no leak).
Dependencies
- Requires Applied Energistics 2 (ae2) and Refined Storage 2 (RS2) installed.
1.7.2Бета1.21.9, 1.21.10, 1.21.11 · 28 июля 2026 г.
修复了放进me-io端口时,ae系统没有存储原价会导致的物品消失问题
1.7.0Бета1.21.1 · 24 июля 2026 г.
1.7.0
- Fixed critical bug where ME IO Port draining the RS network caused items to void: Uses reflection during construction to detect if the host is an ME IO Port, denying extraction and content exposure for such hosts, keeping RS items safely within RS.
- Normal AE network operations (insertion/extraction via Drives / ME Chests / Terminals) accessing RS remain unaffected; import mode still safely allows writing AE items into RS.
Комментарии
Загружаем…