Lightning Prevention
by haykam
Lightning Prevention changes which blocks a lightning strike can set on fire, using two block tags the mod adds.
What it does
When a lightning bolt hits the world, the mod checks the block it strikes against a blacklist and a whitelist of fire-base blocks. Blocks on the blacklist are protected from being struck, and blocks on the whitelist are the only ones lightning will set alight. Fire from lightning otherwise spawns as it does by default. The mod runs on the server alone, so players join without installing it, and it is published for Fabric only, across 8 release versions, 1.16.2 – 1.18.1. The code is open source under the MIT License.
Key features
Strike blacklist
Blocks listed in the prevent lightning strike tag are not struck by lightning, so they stay unharmed during storms.
Fire whitelist
The lightning fire base tag defines which blocks lightning can set on fire, and any other block is left alone.
Default fire behavior
Without changes to the tags, lightning causes fire as it does in vanilla, so the mod only narrows the effect.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Lightning Prevention need Fabric API?
Does Lightning Prevention have to be installed on clients?
In the catalog
Lightning Prevention is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 4,416 mods support Minecraft 1.18.1.
More from haykam
Similar mods
What the author says
Adds a blacklist for lightning strike base blocks and a whitelist for lightning fire base blocks. Lightning Prevention requires the Fabric modloader and Fabric API.
Official listing
- Modrinth page
- modrinth.com/mod/lightning-prevention
- Owner
- haykam
- Published
- 2021-06-09
- Updated on Modrinth
- 2024-05-28
- Facts verified
- 2026-10-15
