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

NameProjectiles can break blocks
Rule name (Java 1.21.11+)projectiles_can_break_blocks
Old name (Java 1.21.10 and earlier)projectilesCanBreakBlocks
Bedrock nameprojectilescanbreakblocks
Value typetrue / false
Defaulttrue

Commands you can copy

Turn off (false)

/gamerule projectiles_can_break_blocks false

Reset to the default (true)

/gamerule projectiles_can_break_blocks true

Check the current value

/gamerule projectiles_can_break_blocks

Java 1.21.10 and earlier

/gamerule projectilesCanBreakBlocks false

Bedrock Edition

/gamerule projectilescanbreakblocks false

Notes

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.

Other game rules