ModsFinder

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.

FabricClient or server, optionalAll rights reserved1.21.1 – 1.21.2

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

  1. Per-mob spawn toggles

    Each hostile vanilla mob has its own button in the in-game menu that stops natural spawning.

  2. 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.

  3. Automatic saving

    Changes made in the menu are written to the config file as soon as they are set, with nothing to confirm.

  4. Singleplayer and servers

    The toggles apply to singleplayer worlds as well as multiplayer servers, so one setup covers both.

Compatibility

Latest build for each game version and loader.

1.21.21.0.0
1.21.11.0.0
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
MobToggleFabric1.21.1 – 1.21.2Client or server, optional2026-03-21
Custom Mob SpawnsFabric1.19.3 – 1.21.1Client or server, optional2024-06-14
NocreepersFabric1.21.11Server-side only2026-04-24
Mob BlacklistFabric1.21.1 – 26.1.2Server-side only2026-06-02

Questions

Does MobToggle need Fabric API?

Yes. MobToggle requires Fabric API, so it must be installed next to Fabric API on the Fabric loader.

Do servers need MobToggle installed?

No. Either side can run the mod, and neither needs it, so a server can run it and players can join without it.

Which game versions does MobToggle support?

Files exist for 1.21.1 and 1.21.2. The latest file, 1.0.0, is for 1.21.2.

Can the toggles be changed without the menu?

Yes. The settings are stored in a plain JSON file in the config folder, which can be edited directly.

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…
rokn, on the Modrinth page

Official listing

Owner
rokn
Published
2026-03-20
Updated on Modrinth
2026-03-21
Facts verified
2026-10-15

Tags