
Lightning Generator
Adds a generator that creates energy when struck by lightning and that's not all...
About this Mod
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
Available Versions
How to Install Lightning Generator on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Lightning Generator". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lightning Generator server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Lightning Generator compatible with forge and neoforge?
Lightning Generator officially supports forge, neoforge for Minecraft 1.21.1, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lightning Generator – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lightning Generator consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Lightning Generator with just one click on your server.