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
| Name | In 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 name | No rule with the same name |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule mob_explosion_drop_decay falseReset to the default (true)
/gamerule mob_explosion_drop_decay trueCheck the current value
/gamerule mob_explosion_drop_decayJava 1.21.10 and earlier
/gamerule mobExplosionDropDecay falseNotes
- Java 1.21.11 renamed game rules to lower case with underscores. If an older command or a map description uses the old name, rewrite it for your version.
- Game rules are saved per world. On a server, a new world starts with the default values again.
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.