Lightning Power
This utility mod transforms ordinary lightning rods into complete power sources for compatible technical mods like Tech Reborn. Now you can harness the natural power of lightning to fuel your mechanisms and devices.
Configuration Settings
With Cloth Config installed, you can customize Lightning Power's behavior. The configuration file is typically located at ./config/lightning_power.json and contains the following parameters:
{
"accurateRedstonePower": false,
"emittedEnergyAmountPerTick": 4096
}
accurateRedstonePower - when enabled, the redstone signal from a lightning rod will gradually decrease from 15 to 0 (default: false)
emittedEnergyAmountPerTick - amount of energy generated per tick (default: 4096)
You can edit these values directly in the configuration file or through the ModMenu interface.
Installation Requirements
To use this mod, you need:
- Minecraft version 1.17.x or higher
- Fabric Loader version 0.11.3 or higher
Building from Source
For self-compilation, JDK 17 is required.
Linux/MacOS:
git clone https://github.com/Kir-Antipov/lightning-power.git
cd lightning-power
chmod +x ./gradlew
./gradlew build
cd build/libs
Windows:
git clone https://github.com/Kir-Antipov/lightning-power.git
cd lightning-power
gradlew build
cd build/libs