
Disable Spawner Mob Spawns
Disables spawner mob spawning with new gamerule
Screenshots

About this Mod
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
Available Versions
How to Install Disable Spawner Mob Spawns on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "Disable Spawner Mob Spawns". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+17 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Disable Spawner Mob Spawns server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is Disable Spawner Mob Spawns compatible with datapack and fabric and forge and neoforge and quilt?
Disable Spawner Mob Spawns officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 26.1.2, 26.1.1, 26.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Disable Spawner Mob Spawns – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Disable Spawner Mob Spawns consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Disable Spawner Mob Spawns with just one click on your server.