Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.9–1.21.11
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed MIT
Published 10 months ago
Updated 11 months ago
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


