Описание
# Secure Explosions
Secure Explosions gives you fine‑grained control over which explosions can destroy blocks or damage entities. Instead of a global on/off switch, you define rules based on what caused the explosion – for example, a creeper, TNT, or a fireball.
## What it does
Prevents specific explosions from destroying blocks and/or hurting entities
Clears the explosion’s affected block list, entity list, or both
Works with any explosion source that has a direct source entity (Creeper, TNT, Ghast fireball, etc.)
Also handles explosions without a direct source (e.g., commands) with a separate option
## Why you might want it
Stop creepers from wrecking your builds – let them deal damage to players but keep terrain intact
Protect mob farms – TNT minecarts no longer kill your precious loot carriers
Create custom game modes – only certain entities can destroy blocks
Fix griefing issues – on servers, prevent specific explosion types from ruining structures
## Default behavior
Default ensures that explosions no longer destroy terrain (blocks are removed from the destruction list), but they still damage and kill mobs/players – a common "grief protection" use case.
## How it works (critical info)
The mod doesn't disable explosions – it only removes blocks and entities from the explosion’s “to‑destroy” list.
You control everything through configuration files (.toml). Rules are based on regular expressions.