Skip to content

Kir-Antipov/lightning-power

Repository files navigation

Logo

Lightning Power

GitHub Build Status Version Modrinth CurseForge License

A utility mod that turns lightning rods into a power source acceptable by machines from popular tech mods, e.g., Tech Reborn.


Config

If you have Cloth Config installed, you can customize the behavior of the mod. A config is usually located at ./config/lightning_power.json and by default looks like this:

{
  "accurateRedstonePower": false,
  "emittedEnergyAmountPerTick": 4096
}
Name Description Default value
accurateRedstonePower Redstone signal emitted by a lightning rod will gradually decrease from 15 to 0 false
emittedEnergyAmountPerTick Emitted energy amount (per tick) 4096

You can edit any of these values directly in the config file or via ModMenu.


Installation

Requirements:

  • Minecraft 1.20.x
  • Fabric Loader >=0.15.0

You can download the mod from:

Building from sources

Requirements:

  • JDK 17

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