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 false- 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
Turn Off Fire Spread
Stop fire from spreading to nearby blocks
Disable Mob Spawning
Stop mobs from spawning naturally in the world
Disable Block Drops (No Loot)
Stop mined blocks from dropping items
Keep Inventory On Death
Keep your items when you die instead of dropping them
Always Day / Stop Time
Freeze time so it's permanently daytime
Clear Weather / Always Sunny
Stop rain and keep the weather clear