ModsFinder

Lightning Prevention

by haykam

Lightning Prevention changes which blocks a lightning strike can set on fire, using two block tags the mod adds.

FabricServer-side onlyMIT LicenseOpen source1.16.2 – 1.18.1

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

  1. Strike blacklist

    Blocks listed in the prevent lightning strike tag are not struck by lightning, so they stay unharmed during storms.

  2. Fire whitelist

    The lightning fire base tag defines which blocks lightning can set on fire, and any other block is left alone.

  3. 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.

1.18.11.1.0
1.181.1.0
1.17.11.1.0
1.171.1.0
1.16.51.0.0
1.16.41.0.0
1.16.31.0.0
1.16.21.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Questions

Does Lightning Prevention need Fabric API?

Yes. The mod requires Fabric API alongside the Fabric mod loader, and both must be placed in the mods folder.

Does Lightning Prevention have to be installed on clients?

No. It runs on the server alone, so players need nothing extra to join.

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

All projects

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.
haykam, on the Modrinth page

Official listing

Owner
haykam
Published
2021-06-09
Updated on Modrinth
2024-05-28
Facts verified
2026-10-15

Tags