← Назад к ресурсам

Lightning Generator

Adds a generator that creates energy when struck by lightning and that's not all...

Modrinth technology

Описание

# 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