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