数字中继传感器
基本信息
| 属性 | 值 |
|---|---|
| 注册名 | computronics.relaySensor |
| 物品类 | pl.asie.computronics.integration.railcraft.item.ItemRelaySensor |
| 前置 | Railcraft 9.10.0.0+ |
| 注册位置 | IntegrationRailcraft.java:66-67 |
| 开启配置 | enable.railcraft.locomotiveRelay,默认 true(与中继器共用,IntegrationRailcraft.java:59) |
| 中文名 | item.computronics.relaySensor.name = 数字中继传感器(zh_CN.lang) |
功能
装在 Railcraft 电力机车上的绑定件,与数字机车中继器配对,把机车暴露为计算机可寻址对象。
绑定流程(见 tooltip.computronics.sensor.desc1/desc2):
- 潜行时右击机车 → 在机车上安装传感器;
- 潜行时右击中继器 → 与该机车绑定。
传感器自身带 NBT 坐标,WAILA 提示 tooltip.computronics.waila.relay.bound / notbound 显示绑定状态。
错误提示覆盖 5 种情况(zh_CN.lang 的 chat.computronics.sensor.*):noRelay(坐标处无中继器)、noRelayDetected(该坐标无中继器)、tooFarAway(超出 locomotiveRelayRange)、wrongLoco(只能装在电力机车上)、wrongDim(跨位面)。
合成配方
ModRecipes.java:516-526:
n
npr
r
| 字符 | 物品 |
|---|---|
p |
纸 minecraft:paper |
n |
锡粒 nuggetTin |
r |
红石粉 dustRedstone |
相关条目
- 数字机车中继器 - 与本物品配对的方块
- Railcraft 集成
- 设置:普通项 -
railcraft.locomotiveRelayRange