MobToggle
by rokn
With MobToggle, a player can switch off natural spawning of individual hostile vanilla mobs from an in-game menu, without editing any file.
What it does
The in-game toggle menu lists the hostile vanilla mobs with one button per mob. Pressing a button stops that mob from spawning naturally in the world, which addresses cases such as phantoms interrupting nights or creepers damaging builds. Settings are saved automatically, and the same choices are kept in a plain JSON config file inside the config folder for players who prefer to edit it by hand.
MobToggle is a Fabric mod that needs Fabric API on the same loader. It works in singleplayer worlds and on servers, and it is an optional install on either side, so a server can run it without requiring it of players. The mod is released under All rights reserved and is not open source. Files are published for 1.21.1 and 1.21.2, with 1.0.0 for 1.21.2 as the latest file.
Key features
Per-mob spawn toggles
Each hostile vanilla mob has its own button in the in-game menu that stops natural spawning.
Plain JSON config
A JSON file in the config folder holds the same choices for anyone who would rather edit text than use the menu.
Automatic saving
Changes made in the menu are written to the config file as soon as they are set, with nothing to confirm.
Singleplayer and servers
The toggles apply to singleplayer worlds as well as multiplayer servers, so one setup covers both.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Phantoms on long nights
Players who play with insomnia-free rest in mind can switch off phantom spawning so that sleepless nights stop spawning them.
Protecting builds from creepers
Turning off creeper spawns keeps explosions from damaging structures in survival worlds.
Who it’s for: Players who want fewer hostile spawns in their worlds, and server owners who want to limit specific vanilla mobs for everyone on the server without changing the game code.
How it compares
Custom Mob Spawns is a Fabric mod with the same client or server environment as MobToggle, but it covers 1.19.3 – 1.21.1 and is open source under the MIT License. Nocreepers is server-side only, targets 1.21.11 and is not open source. Mob Blacklist is server-side only and open source under the MIT License, for 1.21.1 – 26.1.2.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| MobToggle | Fabric | 1.21.1 – 1.21.2 | Client or server, optional | 2026-03-21 |
| Custom Mob Spawns | Fabric | 1.19.3 – 1.21.1 | Client or server, optional | 2024-06-14 |
| Nocreepers | Fabric | 1.21.11 | Server-side only | 2026-04-24 |
| Mob Blacklist | Fabric | 1.21.1 – 26.1.2 | Server-side only | 2026-06-02 |
Questions
Does MobToggle need Fabric API?
Do servers need MobToggle installed?
Which game versions does MobToggle support?
Can the toggles be changed without the menu?
In the catalog
MobToggle is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 12,072 mods support Minecraft 1.21.2.
Similar mods
What the author says
Tired of phantoms ruining your nights or creepers blowing up your builds? MobToggle lets you disable natural spawning for any hostile vanilla mob right from inside the game. Open the GUI with /mobtoggle, click the mobs you want to turn off, and hit Save. That's it. Your settings stick between sessions, so you never…
Official listing
- Modrinth page
- modrinth.com/mod/mobtoggle
- Owner
- rokn
- Published
- 2026-03-20
- Updated on Modrinth
- 2026-03-21
- Facts verified
- 2026-10-15
