Disable Spawner Mob Spawns
Disables spawner mob spawning with new gamerule
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Disable Spawner Mob Spawns
This datapack flips the new gamerule spawnerBlocksEnabled to false, so mob spawners stop spawning mobs. Natural spawning is untouched.
⚠️ Requires Java Edition snapshot 25w37a or newer (the snapshot that introduces spawnerBlocksEnabled). Works in single-player and servers.
What it does
- On world load, sets:
``` /gamerule spawnerBlocksEnabled false ```
- Result: all mob spawners won’t spawn anything.
- Does not change natural spawning, eggs, commands, or mob farms that don’t rely on spawners.
Install
Drop the ZIP into your world/server datapacks/ folder.
Run /reload (or restart the server).
Uninstall
Remove the datapack.
Re-enable spawners with:
``` /gamerule spawnerBlocksEnabled true ```