Stop Mob Griefing
Stop creepers, endermen, and other mobs from changing blocks
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Prevents all hostile and neutral mobs from altering the landscape — no creeper explosions destroying terrain, no endermen stealing blocks, no zombies breaking down doors, no ghasts destroying Nether builds. Animals like sheep and cows still interact normally with crops and grass. Reverse with /gamerule mobGriefing true.
/gamerule mobGriefing false27 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.
- Press Enter — all world-altering mob actions stop immediately.
- Existing mob-caused damage remains; only future griefing is prevented.
Related commands
Stop mobs from spawning naturally in the world
/gamerule doMobSpawning falseStop mined blocks from dropping items
/gamerule doTileDrops falseKeep your items when you die instead of dropping them
/gamerule keepInventory true