
ModsJava
Lightning Prevention
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Lightning Prevention
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.
Installation
- Install Fabric API if it is not installed.
- Download Lightning Prevention from CurseForge or GitHub.
- Place the downloaded file in your
modsfolder.
Usage
When this mod is installed, lightning will not cause fire to spawn by default.
Tags
Blocks added to the #lightningprevention:prevent_lightning_strike_base_blocks tag will not be struck by lightning.
On the other hand, blocks in the #lightningprevention:lightning_fire_base_blocks will be set on fire by lightning.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.17, 1.17.1, 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as lightningprevention-1.1.0.jar — drop this file into the mods folder
- Download size: 6 KB
- Download link checked 9 Sept 2026 — working
These come from our own check of the pack file, not from the source page.