Stop Projectiles Breaking Blocks
Prevent tridents, wind charges, and similar projectiles from breaking blocks
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Disables projectiles (tridents, wind charges) from breaking blocks like decorated pots or other fragile blocks. Useful for protecting builds.
/gamerule projectilesCanBreakBlocks false41 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Projectiles will pass through or not break blocks.
Related commands
Stop creepers, endermen, and other mobs from changing blocks
/gamerule mobGriefing falsePrevent snow layers stacking during snowfall
/gamerule snowAccumulationHeight 0