
Modrinth · Minecraft mod
Mob Spawn Control
This mod gives you complete control over mob spawning with per-rule filters, category caps, loot/XP scaling, attribute multipliers, and mob replacement — no coding required, just edit the JSON config and reload. 🔌✨
Quick answer
Which Mob Spawn Control release should I use?
Mob Spawn Control 1.0.1 targets 1.21, 1.21.1, 1.21.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Mob Spawn Control required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Mob Spawn Control 1.0.1 need?
1.0.1. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Mob Spawn Control without breaking your instance.
Built for Mob Spawn Control 1.0.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.1. It targets 1.21, 1.21.1, 1.21.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.1. It opens that exact file at the source.
About this project
What does Mob Spawn Control add?
Mob Spawn Control
Mob Spawn Control is a lightweight, Server-Side configuration-driven mod for Minecraft 1.21.x, 26.1.x, and 26.2.x. It gives you complete control over mob spawning with per-rule filters, category caps, loot/XP scaling, attribute multipliers, and mob replacement no coding required, just edit the JSON config and reload.
Supported Versions
| Version | Java | Status |
|---|---|---|
| 1.21.x | 21 | Full support |
| 26.1.x | 25 | Full support |
| 26.2.x | 25 | Full support |
Purpose & Function
The core mission of this project is to give server operators and modpack makers fine-grained spawn control with zero performance overhead.
- Rule-Based Filtering: Define spawn rules by dimension, biome, block, spawn type, light level, height, time, weather, and player proximity.
- Per-Rule Overrides: Each rule can set custom spawn rates, category caps, attribute multipliers, XP/loot scaling, and replacement mobs.
- Hot Reload: Change your config file at any time and run
/spawncontrol reloadno server restart needed. - Full Command Suite: In-game commands to inspect active rules, ban/unban dimensions, biomes, spawn types, and blocks, tweak rates, caps, height/light limits, attributes, weather conditions, and replacement targets.
- Lightweight & Efficient: Minimal mixins, early-out checks, proximity search optimized to skip when unused no tick overhead when rules don't match.
Key Features
| Feature | Description |
|---|---|
| Rule-Based Spawn Control | Multi-condition rules: dimension, biome, block, spawn type, light, height, time, weather, proximity, random rate |
| Mob Replacement | Replace any mob with another when spawning (with depth limit) |
| Attribute Scaling | Per-rule multipliers for max health, movement speed, and attack damage |
| Loot Multiplier | Scale dropped items per mob type (configurable drop count) |
| XP Multiplier | Scale experience orbs dropped on kill |
| Category Caps | Override vanilla mob cap per category (monster, creature, etc.) |
| Biome Additions | Add custom biome spawn entries that load once at startup |
| Hot-Reload Config | JSON config reloaded via /spawncontrol reload no restart required |
| Full Command Tree | 10+ subcommands: reload, info, ban, unban, rate, cap, spawntype, height, light, attributes, weather, replace |
| Lightweight | ~20KB JAR, only 5 mixins, no external dependencies beyond Fabric API |
| Zero Coding Required | Everything configured via config/viper_spawn_control.json |
| Universal Version Support | Single source design for 1.21.x, 26.1.x, and 26.2.x |
Enhance your server setup! Check out my other server-side mods over at : Fabric Server Essentials
Configuration
The mod reads config/viper_spawn_control.json. Here's a quick example:
{
"spawnRules": [
{
"id": "no_creepers_underground",
"enabled": true,
"mob": "minecraft:creeper",
"spawnTypes": ["NATURAL"],
"maxHeight": 0,
"action": "DENY"
},
{
"id": "buffed_zombies_night",
"enabled": true,
"mob": "minecraft:zombie",
"spawnTypes": ["NATURAL"],
"time": { "minTime": 13000, "maxTime": 24000 },
"action": "ALLOW",
"attributeMultipliers": {
"maxHealth": 2.0,
"movementSpeed": 1.5,
"attackDamage": 2.0
},
"lootMultiplier": 2.0,
"experienceMultiplier": 3.0
},
{
"id": "replace_spiders_with_cavespiders",
"enabled": true,
"mob": "minecraft:spider",
"spawnTypes": ["NATURAL"],
"action": "REPLACE",
"replaceWith": "minecraft:cave_spider",
"replaceDepth": 1
}
],
"biomeSpawnAdditions": [
{
"entityType": "minecraft:polar_bear",
"biomeId": "minecraft:plains",
"weight": 5,
"minGroupSize": 1,
"maxGroupSize": 2
}
],
"categoryCaps": {
"MONSTER": 80,
"CREATURE": 15,
"AMBIENT": 15,
"WATER_CREATURE": 10,
"WATER_AMBIENT": 25,
"AXOLOTLS": 5,
"UNDERGROUND_WATER_CREATURE": 10
}
}
Commands
/spawncontrol reload Reload config from disk
/spawncontrol info [mob] List rules or rule details for a mob
/spawncontrol ban <dimension|biome|block|spawntype> <value> Ban/drop specific value from rules
/spawncontrol unban <dimension|biome|block|spawntype> Unban a previously banned value
/spawncontrol rate <mob> <rate> Set random spawn rate for a mob
/spawncontrol cap <category> <cap> Override mob cap for a spawn category
/spawncontrol spawntype <type> Show rules matching a spawn type
/spawncontrol height <mob> <min> <max> Set height limits for a mob
/spawncontrol light <mob> <min> <max> Set light level range for a mob
/spawncontrol attributes <mob> <health|speed|damage> <mult> Set attribute multiplier
/spawncontrol weather <mob> <clear|rain|thunder> Toggle weather condition
/spawncontrol replace <mob> <replacement> [depth] Set mob replacement target
Note: When using the /spawncontrol ban command, ensure the value is enclosed in quotes (e.g., /spawncontrol ban "minecraft:sheep" instead of without quotes), otherwise the command will fail to parse correctly.
Built for server operators who demand surgical precision over vanilla spawning. Define it once, reload on the fly, and never fight spawn rates again.
Project description from Modrinth.
Pick your setup
Mob Spawn Control by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader buildShowing the newest 12 of 16 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Mob Spawn Control versions and loaders
1.0.1
viper-spawn-control-1.21.x-1.0.0.jar
3 Aug 2026
1.0.1
viper-spawn-control-26.1-1.0.0.jar
3 Aug 2026
1.0.1
viper-spawn-control-26.2-1.0.0.jar
3 Aug 2026
1.0.0
viper-spawn-control-1.21.x-1.0.0.jar
18 Jul 2026
1.0.0
viper-spawn-control-26.1-1.0.0.jar
18 Jul 2026
1.0.0
viper-spawn-control-26.2-1.0.0.jar
18 Jul 2026
Looking for an older file? The official Modrinth project page is in Resources.