Updated:
Drop blocks game rule (block_drops)
The "Drop blocks" rule is called block_drops in Java 1.21.11 and later, and doTileDrops in 1.21.10 and earlier. Controls whether broken blocks drop items.
Basic data
| Name | Drop blocks |
|---|---|
| Rule name (Java 1.21.11+) | block_drops |
| Old name (Java 1.21.10 and earlier) | doTileDrops |
| Bedrock name | dotiledrops |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule block_drops falseReset to the default (true)
/gamerule block_drops trueCheck the current value
/gamerule block_dropsJava 1.21.10 and earlier
/gamerule doTileDrops falseBedrock Edition
/gamerule dotiledrops 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 doTileDrops gives an error
In Java 1.21.11 and later the rule is called block_drops. Write /gamerule block_drops … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule block_drops without a value. The current value is shown in chat.