How to disable mob spawners in Minecraft
Run /gamerule spawner_blocks_work false and monster spawner blocks stop spawning mobs.
spawner_blocks_work
Controls whether monster spawner blocks spawn mobs.
/gamerule spawner_blocks_work <true|false> Examples
/gamerule spawner_blocks_work false Disable mob spawners.
Values
| Value | What it does |
|---|---|
| trueDefault | On |
| false | Off |
Arguments
true|falseOptionaltrueturns the rule on,falseturns it off. Leave it out to show the current value.
What it does
Set it to false to switch off every mob spawner in the world, for example to stop spawner farms from lagging the server.
Run it on your server
On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.
Your own
Minecraft server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.