
Mobs Blocker
Mobs Blocker is a simple and effective admin tool to prevent any mob from spawning on your server via a simple command.
About this Mod
Mobs Blocker
Advanced Spawn Control for Your Server
Mobs Blocker has been completely re-architected to give you granular control over entity spawning. Stop mobs based on specific conditions (natural spawns, spawners, eggs) or apply rules globally across mob categories.
⚠️ UPDATE NOTICE: This mod has been rewritten and currently ONLY supports version 1.2.0. For version 1.1.0, please check the GitHub repository. Versions below 1.1.0 are no longer supported.
🚀 How It Works & Core Features
The Logic System
Mobs Blocker intercepts every entity spawn attempt and checks rules in this specific order:
- Specific Rules: Is there a rule for this exact Entity ID? (e.g.,
minecraft:zombie) - Preset Rules: If not, is there a rule for its Category? (e.g.,
monsters) - Global Rules: If not, is there a Global rule set?
Key Features
- Granular Control: Block mobs based on how they spawn (Natural, Spawners, Eggs, Commands).
- Smart Presets: Apply rules to entire categories (e.g., block all
monstersorwater_creatures). - Global Settings: Apply a rule to every entity on the server instantly.
- In-Game Management: Full command system with auto-completion.
- Zero Lag: Uses optimized
HashSetlookups and hooks into NeoForge events for minimal performance impact. - Server-Side Only: Clients do not need to install this mod.
📜 The Rules System (Understanding Block Types)
When adding a rule, you define what to block. You can block specific sources or use "Inverse Mode" to allow only specific sources.
| Rule Keyword | Effect |
|---|---|
all |
Blocks ALL spawns for this target. |
natural |
Blocks natural spawns (darkness, biome generation). |
spawner |
Blocks mob spawners (dungeons, trial spawners). |
egg |
Blocks spawn eggs and dispensers. |
command |
Blocks /summon or command block spawns. |
!natural |
Inverse: Blocks everything EXCEPT natural spawns. |
!spawner |
Inverse: Blocks everything EXCEPT spawners. |
!command |
Inverse: Blocks everything EXCEPT commands. |
💻 Command Guide (Usage Examples)
All commands require OP Level 4.
1. Specific Mob Control (add)
Target a single entity type.
- Block Zombies completely:
/spawnblocker add minecraft:zombie all - Block Creepers from spawning naturally (but allow spawners/eggs):
/spawnblocker add minecraft:creeper natural - Allow Skeletons ONLY from Spawners (Inverse Mode):
/spawnblocker add minecraft:skeleton !spawner
2. Category Presets (preset)
Apply rules to groups of mobs.
Available categories: monsters, creatures, ambient, water, misc.
- Block all Monsters from spawning naturally:
/spawnblocker preset monsters natural - Disable all ambient creatures (Bats, etc.):
/spawnblocker preset ambient all
3. Global Settings (global)
Apply a fallback rule to the entire server.
- Disable Natural Spawning server-wide (Adventure mode style):
/spawnblocker global natural
4. Management & Utilities
- Remove a rule:
/spawnblocker remove minecraft:zombie /spawnblocker remove preset monsters - List active rules:
/spawnblocker list - Reload Config (from disk):
/spawnblocker reload - Reset Everything (Wipe Config):
/spawnblocker reset
📂 Configuration File (Manual Editing)
The configuration is saved automatically to config/spawnblocker.json. You can edit this file manually if the server is stopped.
Example spawnblocker.json:
{
"minecraft:phantom": [
"all"
],
"preset:monsters": [
"natural"
],
"minecraft:zombie": [
"!spawner"
],
"global_settings": [
"command"
]
}
Available Versions
How to Install Mobs Blocker on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Mobs Blocker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.4, 1.21.1 (+5 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Mobs Blocker server crashes on startup – what to do?
Most common cause: wrong fabric 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 (1.21.8). You can switch loaders with one click in the panel.
Is Mobs Blocker compatible with fabric and forge and neoforge?
Mobs Blocker officially supports fabric, forge, neoforge for Minecraft 1.21.8, 1.21.4, 1.21.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 Mobs Blocker – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Mobs Blocker 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 Mobs Blocker with just one click on your server.