Description
A small mod that allows tweaking some aspects of Creeper or other explosions. The most common and useful tweak is probably the one where all the blocks destroyed by Creeper explosions will always drop as items.
No more partially filled Creeper holes!
This mod is only needed on the server side.
Note: This mod does not currently work with Sponge, because the Forge Explosion events don't get fired with Sponge installed. (This was last checked back in 1.10.2 or 1.12.2. No idea about the current situation.)
Configuration
The mod is entirely configured through the config file, which is at config/environmentalcreepers.<toml | json>
(The Forge version uses a *.toml
file and the Fabric/Quilt version uses a *.json
file).
In the 1.14+ versions there is now one command: /environmentalcreepers-reload
to reload the config file from disk in-game, without having to re-log to the world in single player or restart the server to read the file. In single player you can also use the in-game config GUI for changing the configs (not re-implemented yet in the 1.14+ Forge version).
The following configuration options are available. The mod handles Creeper explosions separately from all other explosions, so that you can only enable the tweaks for Creepers, if that is the only change you are looking for.
creeperChainReactionChance
- The chance (per each target Creeper within range) that a chain reaction occurs, ifenableCreeperExplosionChainReaction
is true. Range:0.0 - 1.0
creeperChainReactionMaxDistance
- The maximum distance within which a Creeper can ignite other CreeperscreeperExplosionBlockDropChance
- The chance that a block destroyed by a Creeper explosion will drop as an item. Range0.0 - 1.0
, where1.0
means that the block always drops as an item.creeperExplosionStrengthCharged
- The strength of Charged Creeper explosions. The default in vanilla is6.0
(double of normal Creepers).creeperExplosionStrengthNormal
- The strength of normal Creeper explosions. The default in vanilla is3.0
.disableCreeperExplosionBlockDamage
- This completely disables Creeper explosions from destroying blocksdisableCreeperExplosionCompletely
- This prevents Creepers from exploding completely. They just swell up.disableCreeperExplosionItemDamage
- This prevents Creeper explosions from destroying items on the grounddisableOtherExplosionBlockDamage
- This completely disables other explosions except for Creepers from destroying blocksdisableOtherExplosionItemDamage
- This prevents other types of explosions except for Creepers from destroying items on the groundenableCreeperExplosionChainReaction
- If enabled, then a Creeper explosion can ignite other Creepers within rangemodifyCreeperExplosionDropChance
- This enables the item drop chance modification for Creeper explosionsmodifyCreeperExplosionStrength
- Enable modifying the explosion strength of Creeper explosions. Without this, the explosion strength values described above do nothing.modifyOtherExplosionDropChance
- This enables the item drop chance modification for every other explosion except for CreepersotherExplosionBlockDropChance
- Same ascreeperExplosionBlockDropChance,
but for all other explosions except Creepers
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+