Compatibility
Minecraft: Java Edition
25w37a
Platforms
Supported environments
Creators
Details
Licensed MIT
Published last month
Updated last month
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