Updated:

In mob explosions, some blocks won't drop their loot game rule (mob_explosion_drop_decay)

The "In mob explosions, some blocks won't drop their loot" rule is called mob_explosion_drop_decay in Java 1.21.11 and later, and mobExplosionDropDecay in 1.21.10 and earlier. Controls whether some drops are lost when blocks are destroyed by mob explosions such as creepers.

Basic data

NameIn mob explosions, some blocks won't drop their loot
Rule name (Java 1.21.11+)mob_explosion_drop_decay
Old name (Java 1.21.10 and earlier)mobExplosionDropDecay
Bedrock nameNo rule with the same name
Value typetrue / false
Defaulttrue

Commands you can copy

Turn off (false)

/gamerule mob_explosion_drop_decay false

Reset to the default (true)

/gamerule mob_explosion_drop_decay true

Check the current value

/gamerule mob_explosion_drop_decay

Java 1.21.10 and earlier

/gamerule mobExplosionDropDecay false

Notes

Questions

Typing mobExplosionDropDecay gives an error

In Java 1.21.11 and later the rule is called mob_explosion_drop_decay. Write /gamerule mob_explosion_drop_decay … instead. Worlds on 1.21.10 and earlier keep the old name.

How do I check the current value?

Run /gamerule mob_explosion_drop_decay without a value. The current value is shown in chat.

Other game rules