
MobRules
Order your mobs à la carte, not from a set menu - pick exactly what spawns in your world.
- Загрузки
- 1K
- Подписчики
- 1
- Обновлён
- 4 августа 2026 г.
- Лицензия
- All-Rights-Reserved
Опубликован 24 августа 2025 г.
MobRules
MobRules is a lightweight mod for Minecraft 1.21.1 & 26.2 that provides comprehensive and granular control over mob spawning through three distinct categories:
- Hostile Mobs: All aggressive creatures including monsters, undead, and other threats
- Farm Animals: Domestic and passive land animals typically used for resources or companionship
- Aquatic Animals: All water-dwelling creatures from fish to amphibians
Each category offers three levels of control:
- Allow All (
allow_all): Normal vanilla spawning behavior - Block All (
block_all): Completely prevent spawning for the entire category - Selective Control (
allowlist): Use customizable JSON allowlists to specify exactly which mobs can spawn
Categories are resolved from each mob's vanilla spawn category, so modded mobs are covered automatically. Every mob belongs to exactly one category, so a spawn is only ever evaluated once.
Advanced Configuration
When using "partial" mode, MobRules generates JSON allowlist files in your config/mobrules/ directory:
hostile_mobs_allowlist.json- Controls which hostile mobs can spawnfarm_animals_allowlist.json- Controls which farm animals can spawnaquatic_animals_allowlist.json- Controls which aquatic animals can spawn
These files are automatically created with sensible defaults and can be edited to include only the specific mob IDs you want to allow. For example:
[
"minecraft:zombie",
"minecraft:skeleton",
"minecraft:creeper"
]
Reclassifying mobs
To move a mob into a different category (for example, treating an amphibian as aquatic rather than farm), edit config/mobrules/category_overrides.json:
{
"minecraft:frog": "aquatic"
}
Valid categories are hostile, farm, and aquatic.
In-game commands
All commands require permission level 2 (operator):
/mobrules status— show the current control mode and allowlist size for each category/mobrules reload— reload the allowlist and override files from disk without restarting/mobrules allow <category> <mobId>— add a mob to a category's allowlist/mobrules disallow <category> <mobId>— remove a mob from a category's allowlist
Why MobRules Exists
Every Minecraft player has encountered situations where default spawning mechanics don't align with their goals:
- Creative builders who want inspiration from a living world without combat interruptions
- Server administrators managing performance with selective mob populations or creating themed areas
- Modpack creators needing precise control over which creatures populate their custom worlds
- Accessibility-focused players who want to reduce specific stressors while maintaining gameplay
- Role-playing servers requiring specific atmospheric conditions with custom creature populations
- Adventure map makers who need exact control over which mobs appear in different areas
MobRules bridges the gap between Minecraft's default spawning and the diverse needs of its community, offering everything from simple on/off switches to precise per-mob control through easy-to-edit configuration files.
Ченджлог
1.1+26.2Релиз26.2 · 4 августа 2026 г.
v1.1 Changelog
This update introduces a major refactor of the spawning logic to provide more granular control and better integration with modded mobs.
Changes
- Unified Mob Classification: Mobs are now classified into three distinct categories (Hostile, Farm, and Aquatic) based on their vanilla spawn category. This ensures automatic support for modded mobs.
- Improved Control Modes: Each category now supports three levels of control:
allow_all,block_all, andallowlist. - Category Overrides: Added a new
category_overrides.jsonconfiguration file, allowing you to reclassify any mob into a different category (e.g., treating a frog as an aquatic animal instead of a farm animal). - In-Game Commands: Introduced the
/mobrulescommand system (requires operator permission level 2):/mobrules status: View current control modes and allowlist sizes./mobrules reload: Reload configurations and allowlists from disk without restarting./mobrules allow <category> <mobId>: Add a mob to a specific allowlist in-game./mobrules disallow <category> <mobId>: Remove a mob from an allowlist in-game.
- Persistence: Allowlist changes made via commands are now automatically saved to their respective JSON files.
- Unified Config File: Spawn-control settings moved from a per-world
SERVERconfig to a single globalCOMMONconfig (config/mobrules-common.toml), so the same rules apply on both the client and the server. Note: existing per-worldserverconfig/mobrules-server.tomlfiles are no longer used. - Config Loading: Allowlists and category overrides are now loaded on client initialisation and on server start, rather than during common setup.
- Updated Dependencies: Updated Gradle wrapper to 8.14.5 and properties to reflect the latest project standards.
Fixes & Technical Improvements
- Refactored
MobSpawnHandlerto use a single evaluation point per mob, improving performance and consistency. - Standardized config file management in the
config/mobrules/directory. - Switched to atomic configuration reloads to ensure thread safety during spawn evaluations.
1.1-1.21.1Релиз1.21.1 · 4 августа 2026 г.
v1.1 Changelog
This update introduces a major refactor of the spawning logic to provide more granular control and better integration with modded mobs.
Changes
- Unified Mob Classification: Mobs are now classified into three distinct categories (Hostile, Farm, and Aquatic) based on their vanilla spawn category. This ensures automatic support for modded mobs.
- Improved Control Modes: Each category now supports three levels of control:
allow_all,block_all, andallowlist. - Category Overrides: Added a new
category_overrides.jsonconfiguration file, allowing you to reclassify any mob into a different category (e.g., treating a frog as an aquatic animal instead of a farm animal). - In-Game Commands: Introduced the
/mobrulescommand system (requires operator permission level 2):/mobrules status: View current control modes and allowlist sizes./mobrules reload: Reload configurations and allowlists from disk without restarting./mobrules allow <category> <mobId>: Add a mob to a specific allowlist in-game./mobrules disallow <category> <mobId>: Remove a mob from an allowlist in-game.
- Persistence: Allowlist changes made via commands are now automatically saved to their respective JSON files.
- Unified Config File: Spawn-control settings moved from a per-world
SERVERconfig to a single globalCOMMONconfig (config/mobrules-common.toml), so the same rules apply on both the client and the server. Note: existing per-worldserverconfig/mobrules-server.tomlfiles are no longer used. - Config Loading: Allowlists and category overrides are now loaded on client initialisation and on server start, rather than during common setup.
- Updated Dependencies: Updated Gradle wrapper to 8.14.5 and properties to reflect the latest project standards.
Fixes & Technical Improvements
- Refactored
MobSpawnHandlerto use a single evaluation point per mob, improving performance and consistency. - Standardized config file management in the
config/mobrules/directory. - Switched to atomic configuration reloads to ensure thread safety during spawn evaluations.
1.1+1.21.1Релиз1.21.9, 1.21.10, 1.21.11 · 4 августа 2026 г.
v1.1 Changelog
This update introduces a major refactor of the spawning logic to provide more granular control and better integration with modded mobs.
Changes
- Unified Mob Classification: Mobs are now classified into three distinct categories (Hostile, Farm, and Aquatic) based on their vanilla spawn category. This ensures automatic support for modded mobs.
- Improved Control Modes: Each category now supports three levels of control:
allow_all,block_all, andallowlist. - Category Overrides: Added a new
category_overrides.jsonconfiguration file, allowing you to reclassify any mob into a different category (e.g., treating a frog as an aquatic animal instead of a farm animal). - In-Game Commands: Introduced the
/mobrulescommand system (requires operator permission level 2):/mobrules status: View current control modes and allowlist sizes./mobrules reload: Reload configurations and allowlists from disk without restarting./mobrules allow <category> <mobId>: Add a mob to a specific allowlist in-game./mobrules disallow <category> <mobId>: Remove a mob from an allowlist in-game.
- Persistence: Allowlist changes made via commands are now automatically saved to their respective JSON files.
- Unified Config File: Spawn-control settings moved from a per-world
SERVERconfig to a single globalCOMMONconfig (config/mobrules-common.toml), so the same rules apply on both the client and the server. Note: existing per-worldserverconfig/mobrules-server.tomlfiles are no longer used. - Config Loading: Allowlists and category overrides are now loaded on client initialisation and on server start, rather than during common setup.
- Updated Dependencies: Updated Gradle wrapper to 8.14.5 and properties to reflect the latest project standards.
Fixes & Technical Improvements
- Refactored
MobSpawnHandlerto use a single evaluation point per mob, improving performance and consistency. - Standardized config file management in the
config/mobrules/directory. - Switched to atomic configuration reloads to ensure thread safety during spawn evaluations.
1.0-1.21.1Релиз1.21.1 · 28 августа 2025 г.
Initial release
MobRules v1.0.0 - Initial Release Released for Minecraft 1.21.1 (NeoForge)
Three-Tier Mob Control System
Hostile Mobs: Control spawning of all aggressive creatures
Farm Animals: Manage passive animals and pets
Aquatic Animals: Regulate water-dwelling creatures
Flexible Configuration Options
Each mob category supports three control modes:
Allow All (false) - Normal vanilla spawning
Block All (true) - Completely prevent category spawning
Selective Control (partial) - Use JSON allowlists for precise control
Smart JSON Allowlist System
Automatic generation of allowlist files in config/mobrules/ Pre-populated with sensible defaults for each category Easy-to-edit JSON format using standard Minecraft mob IDs Three separate files for maximum granularity:
hostile_mobs_allowlist.json
farm_animals_allowlist.json
aquatic_animals_allowlist.json
1.0+1.21.1Релиз1.21.1 · 24 августа 2025 г.
Initial release
MobRules v1.0.0 - Initial Release Released for Minecraft 1.21.1 (NeoForge)
Three-Tier Mob Control System
Hostile Mobs: Control spawning of all aggressive creatures
Farm Animals: Manage passive animals and pets
Aquatic Animals: Regulate water-dwelling creatures
Flexible Configuration Options
Each mob category supports three control modes:
Allow All (false) - Normal vanilla spawning
Block All (true) - Completely prevent category spawning
Selective Control (partial) - Use JSON allowlists for precise control
Smart JSON Allowlist System
Automatic generation of allowlist files in config/mobrules/ Pre-populated with sensible defaults for each category Easy-to-edit JSON format using standard Minecraft mob IDs Three separate files for maximum granularity:
hostile_mobs_allowlist.json
farm_animals_allowlist.json
aquatic_animals_allowlist.json
Комментарии
Загружаем…