Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Lenient Creepers Wiki › Guides › Configure When Items Should Be Protected from Explosions

Configure When Items Should Be Protected from Explosions

Understanding the Configuration Option

The mod includes a setting called onlyWithMobGriefingGamerule that controls how strictly item protection works. This determines whether the mod's protection depends on your world's mobGriefing gamerule.

Two Configuration Modes

Mode 1: Linked to mobGriefing (default)

  • Setting: onlyWithMobGriefingGamerule = true
  • Items are protected ONLY when mobGriefing is set to false
  • When mobGriefing is true, creepers destroy both blocks and items normally
  • Use this if you want item protection only in peaceful or restricted gameplay

Mode 2: Always Protect Items

  • Setting: onlyWithMobGriefingGamerule = false
  • Items are always protected from creeper explosions
  • Blocks still get destroyed if mobGriefing is enabled
  • Use this for maximum item safety while keeping environmental destruction

Changing Your Setting

Locate the mod's configuration file and adjust onlyWithMobGriefingGamerule to match your preferred playstyle, then restart your game.