
Server-side Creeper Control
This modification offers a modern approach to similar additions using game rules with extended behavior configuration. The main advantage is the fully server-side implementation that doesn't require client installation, provides better performance, and offers more customization options compared to vanilla tweaks datapacks, while maintaining functionality such as charged creepers dropping mob heads.
Behavior Configuration
Code for setting up different creeper explosion types:
# Destroys blocks and deals damage according to mobGriefing rule, plus launches a firework
gamerule creeperExplosionBehavior FIREWORK_DESTROY_EXPLOSION
# Normal creeper explosion without block destruction (similar to mobGriefing=false) with additional firework
gamerule creeperExplosionBehavior FIREWORK_KEEP_EXPLOSION
# Creeper doesn't explode but deals damage to surrounding creatures and launches a firework
gamerule creeperExplosionBehavior FIREWORK_DAMAGE_EXPLOSION
# Standard behavior
gamerule creeperExplosionBehavior DEFAULT
# Instead of creeper explosion, a firework launches at its location
gamerule creeperExplosionBehavior FIREWORK_ONLY
# Vanilla behavior - block destruction according to mobGriefing rule
gamerule creeperExplosionBehavior DESTROY_EXPLOSION
# Normal explosion without block destruction (similar to mobGriefing=false)
gamerule creeperExplosionBehavior KEEP_EXPLOSION
# Creeper doesn't explode but deals damage to surrounding creatures
gamerule creeperExplosionBehavior DAMAGE_EXPLOSION
# Creepers simply disappear before exploding
gamerule creeperExplosionBehavior NONE