MonitoringMinecraft MonitoringMinecraft

Mob Spawn Control

Мод Fabric

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. 🔌✨

3 скачивания 1 подписчик
Оцените первым

🐍 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 reload — no 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

📝 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. 🐍⚙️

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
639 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
AxisMine - ВаниллаPlus
12 онлайн
1.21.4 — 26.1.2 версия
Ванильный мир с сотнями уникальных механик и справедливой игрой! /free, pat-pat, emotecraft, Voice.
VanillaSquad
62 онлайн
26.1.2 — 26.2 версия
Приватный ванильный сервер Minecraft с классическим выживанием без привата, доната и лишних плагинов
SankTime
0 онлайн
1.21 — 1.21.11 версия
Легенды куются не в первый день, а в тот, когда ты готов. Ты готов?
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат