Mobs Blocker
Few things derail a carefully planned Minecraft server faster than a creeper wandering into your base or a swarm of phantoms ruining a peaceful night. Mobs Blocker is a server-side add-on that hands you precise control over every entity spawn attempt, letting you decide exactly what appears, where, and how. Whether you are building an adventure map, running a survival economy server, or simply want a quieter world, this mod gives you the tools to shape spawning behavior without touching a single config file if you prefer commands.
What Mobs Blocker Does
At its core, Mobs Blocker intercepts every entity spawn attempt on the server and checks your rules in a strict order. First it looks for a specific rule tied to an exact entity ID, such as minecraft:zombie. If none exists, it checks for a preset rule applied to the mob's category, like monsters or water creatures. Finally, it falls back to a global rule if one is set. This layered logic means you can write a handful of broad rules and still override them for individual mobs when needed.
The add-on is built for NeoForge and is currently rewritten to support version 1.2.0 only. Older releases such as 1.1.0 remain available through the project's repository, while anything below 1.1.0 is no longer maintained. Because it is server-side only, players connecting to your world do not need to install anything themselves, which keeps things simple for public servers and modpacks.
Blocking Types and the Rules System
How Spawn Sources Work
When you add a rule, you define which spawn sources to block. The keyword all stops every spawn for that target, while natural covers darkness and biome generation, spawner handles dungeon and trial spawners, egg covers spawn eggs and dispensers, and command blocks /summon and command block spawns. Inverse mode flips the logic: using !spawner blocks everything except spawner spawns, which is perfect for skeleton farms that should only produce mobs from cages.
Presets and Global Settings
Presets let you apply a rule to an entire category at once. The available groups are monsters, creatures, ambient, water, and misc. Blocking all monsters from spawning naturally is a single command, and disabling ambient creatures like bats takes even less effort. Global settings act as a fallback for every entity on the server, making an adventure-mode style world where natural spawning is off entirely a realistic goal.
Commands and Configuration
All commands require OP level 4 and include full auto-completion, so you rarely need to memorize syntax. A few examples show how flexible the system is:
- /spawnblocker add minecraft:zombie all — blocks zombies completely
- /spawnblocker add minecraft:creeper natural — stops natural creeper spawns but allows spawners and eggs
- /spawnblocker preset monsters natural — blocks natural monster spawning across the board
- /spawnblocker global natural — disables natural spawning server-wide
- /spawnblocker list — shows every active rule
Rules are saved automatically to config/spawnblocker.json, which you can edit manually while the server is stopped. The mod uses optimized HashSet lookups and hooks into NeoForge events, so even large rule sets have effectively zero performance impact. If you want a smoother setup experience, the foxygame.net launcher bundles Mobs Blocker in its add-on catalog with one-click install and automatic version matching for your server.
Getting Started
To download Mobs Blocker, grab the 1.2.0 build for NeoForge and drop it into your server's mods folder. If you are unsure how to install, the process is the same as any NeoForge mod: stop the server, place the jar, restart, and confirm the mod loads in the console. From there, run a few test commands in a creative world before applying rules to your live server.
Mobs Blocker for Minecraft shines because it respects how complex spawning really is. Instead of a blunt on-off switch, it gives you source-aware rules, category presets, and global fallbacks that stack logically. For server owners tired of fighting unwanted spawns, it is one of the cleanest solutions available.