应用频道管理
应用频道管理 是适用于 Minecraft 1.21.1 和 NeoForge 的 Applied Energistics 2 模组附加内容。
它将有效 ME Controller 多块结构中每个几何上暴露的面视为一个共享的 32 通道源。有线设备优先分配;无线分发器分支则根据优先级降序及稳定的分发器 UUID 接收剩余容量。
依赖要求
- Minecraft 1.21.1
- NeoForge 21.1.169
- Applied Energistics 2 19.2.17(严格匹配)
- Java 21
AE2 依赖被有意锁定,因为该模组对 AE2 的通道寻路应用了特定的 Mixin。
设备
ME Channel Hub
- 每个控制器网格仅允许一个活动 Hub。
- 不占用通道;默认消耗 32 AE/t。
- 存储全局唯一的、大小写不敏感的名称、拥有者 UUID 以及白名单。
- 显示总容量、有线使用量、无线使用量及剩余容量。
ME Channel Distributor
- 通过名称绑定到已授权的 Hub。
- 在所有连接面上最多暴露 32 个通道。
- 在同一维度内消耗 16 AE/t,跨维度时消耗 64 AE/t。
- 不会 chunk 加载任一端点,并在端点卸载或失去动力时断开连接。
- 拒绝包含控制器、另一个 Hub 或之前已声明的分发器子网的远程网格。
右键点击任一设备可打开其配置界面。Hub 白名单条目接受用逗号分隔的在线玩家名称或 UUID。
这两个设备均出现在 Applied Energistics 2 的创造模式标签页中。JEI 会自动发现它们的标准形状合成配方;无需单独的 JEI 插件。
通道模型
pool capacity = exposed controller faces * 32
available wireless capacity = pool capacity - wired channels - wireless channels
只有与另一个控制器接触的面才被视为内部面。覆盖物、不透明方块或缺失的电缆连接不会减少池容量。AE2 的本地 8 通道和密集 32 通道电缆瓶颈保持不变。
Mixin 会在 AE2 完成原生有线分配后,再延迟处理 ACM 虚拟控制器根节点,并按优先级进行处理。它还强制执行全局池限制以及每个分发器的 32 通道上限。
开发
./gradlew build
./gradlew runData
./gradlew runGameTestServer
./gradlew runClient
开发环境使用 Gradle wrapper 并自动下载所有依赖项。构建好的 jar 文件写入 build/libs/。
配置
生成的服务器配置文件可以覆盖以下设置:
- Hub AE/t 消耗
- 同维度分发器 AE/t 消耗
- 跨维度分发器 AE/t 消耗
- Hub 名称最大长度
- 跨维度链接
Applied Channel Management
应用频道管理 is an Applied Energistics 2 addon for Minecraft 1.21.1 and NeoForge.
It treats every geometrically exposed face of a valid ME Controller multiblock as one shared 32-channel source. Wired devices are assigned first; wireless distributor branches then receive the remaining capacity by descending priority and stable distributor UUID.
Requirements
- Minecraft 1.21.1
- NeoForge 21.1.169
- Applied Energistics 2 19.2.17 exactly
- Java 21
The AE2 dependency is intentionally locked because the mod applies a narrow Mixin to AE2 channel pathing.
Devices
ME Channel Hub
- One active hub per controller grid.
- Does not consume a channel; drains 32 AE/t by default.
- Stores a globally unique, case-insensitive name, owner UUID, and whitelist.
- Shows total capacity, wired use, wireless use, and remaining capacity.
ME Channel Distributor
- Binds to an authorized hub by name.
- Exposes at most 32 channels total across all connected faces.
- Drains 16 AE/t in the same dimension or 64 AE/t across dimensions.
- Never chunk-loads either endpoint and disconnects when an endpoint unloads or loses power.
- Rejects remote grids containing a controller, another hub, or a previously claimed distributor subnet.
Right-click either device to open its configuration screen. Hub whitelist entries accept online player names or UUIDs separated by commas.
Both devices appear in the Applied Energistics 2 creative tab. Their standard shaped recipes are discovered automatically by JEI; no separate JEI plugin is required.
Channel Model
pool capacity = exposed controller faces * 32
available wireless capacity = pool capacity - wired channels - wireless channels
Only faces touching another controller are internal. Covers, opaque blocks, and missing cable connections do not reduce the pool. AE2's local 8-channel and dense 32-channel cable bottlenecks remain unchanged.
The Mixin defers ACM virtual controller roots until AE2 finishes native wired allocation, then processes them by priority. It also enforces the global pool and the 32-channel per-distributor ceiling.
Development
./gradlew build
./gradlew runData
./gradlew runGameTestServer
./gradlew runClient
The development environment uses the Gradle wrapper and downloads all dependencies automatically. The built jar is written to build/libs/.
Configuration
The generated server config can override:
- Hub AE/t usage
- Same-dimension distributor AE/t usage
- Cross-dimension distributor AE/t usage
- Maximum hub name length
- Cross-dimension linking
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧