闪电发电机
添加了一种在受到闪电击中时产生能量的发电机。
功能说明
-
闪电发电机(Lightning Generator) — 一种将闪电转化为 RF 的方块。在其顶部放置一个原版避雷针或模组提供的高功率避雷针(High-Power Lightning Rod);当闪电击中避雷针时,发电机会储存能量。你可以从发电机的正面提取 RF(例如使用线缆或能量接收器)。
-
高功率避雷针(High-Power Lightning Rod) — 性能更强的避雷针。当其放置在闪电发电机上方时:
- 像原版避雷针一样吸引闪电。
- 在雨天(约每 15–30 秒)和雷暴天气(约每 3–5 秒)自动产生闪电,这样即使没有自然闪电也能获得 RF。
- 兼容 Ice and Fire 中的闪电龙(详见下文)。
特性
| 特性 |
描述 |
| 来自闪电的 RF |
每次闪电击中(无论是原版避雷针还是高功率避雷针)都会向发电机的缓冲槽中添加可配置的 RF。 |
| 自动闪电 |
安装在发电机上的高功率避雷针会在下雨或打雷时按定时器生成闪电。 |
| 能量输出 |
RF 仅从发电机的正面输出(可配置的最大 RF/刻)。 |
| 可配置性 |
容量、每次击打的 RF、最大提取量以及雨天/雷暴间隔均可在配置文件中调整。 |
可选:Ice and Fire
如果安装了 Ice and Fire(或 Ice and Fire: Community Edition):
- 闪电龙可以被诱骗对高功率避雷针呼气。当它们这样做时,发电机会获得额外的 RF。
- 该装置(避雷针 + 方块)受保护,不会因龙息而损坏附近的方块。
- 无编译依赖:模组使用反射机制,因此无论是否安装 Ice and Fire 均可正常工作。
配置
配置文件:config/lightning_generator-common.toml(首次运行后创建)。
你可以调整以下参数:
- 每次闪电击打产生的 RF
- 发电机的能量容量和每秒最大提取量
- 雨天与雷暴天气下自动闪电的间隔
- 闪电龙(Ice and Fire)击中避雷针时获得的 RF
Lightning Generator
Adds a generator that creates energy when struck by lightning.
What it does
-
Lightning Generator — A block that turns lightning into RF. Place a vanilla Lightning Rod or the mod’s High-Power Lightning Rod on top; when lightning hits the rod, the generator stores energy. You can extract RF from the front face (e.g. with cables or energy receivers).
-
High-Power Lightning Rod — A stronger lightning rod. When placed on top of the Lightning Generator it:
- Attracts lightning like the vanilla rod.
- Auto-generates lightning during rain (about every 15–30 seconds) and during thunderstorms (about every 3–5 seconds), so you get RF even without natural strikes.
- Works with Ice and Fire lightning dragons (see below).
Features
| Feature |
Description |
| RF from lightning |
Each lightning strike (vanilla or high-power rod) adds configurable RF to the generator’s buffer. |
| Auto lightning |
High-power rod on the generator creates lightning on a timer when it’s raining or thundering. |
| Energy output |
RF is only output from the front face of the generator (configurable max RF/tick). |
| Configurable |
Capacity, RF per strike, max extract, and rain/thunder intervals are all configurable in the config file. |
Optional: Ice and Fire
If Ice and Fire (or Ice and Fire: Community Edition) is installed:
- Lightning dragons can be lured to breathe on the High-Power Lightning Rod. When they do, the generator receives extra RF.
- The generator setup (rod + block) is protected from dragon breath damaging nearby blocks.
- No compile dependency: the mod uses reflection, so it works with or without Ice and Fire.
Configuration
Config file: config/lightning_generator-common.toml (created after first run).
You can adjust:
- RF per lightning strike
- Generator energy capacity and max extraction per tick
- Intervals for auto-lightning in rain vs thunderstorms
- RF gained when a lightning dragon (Ice and Fire) strikes the rod
评论 0
登录后参与评分
还没有评论,来抢沙发吧