MobRules
MobRules gives server owners control over which mobs spawn in a world, sorted into hostile, farm and aquatic categories and set by JSON allowlists.
What it does
MobRules divides spawning into three categories: hostile mobs, farm animals and aquatic animals. Each category can be set to allow, which keeps normal vanilla spawning, or to block, which stops the whole category from spawning. A third option, selective control, reads a customizable JSON allowlist and spawns only the mob IDs it lists. Every mob belongs to exactly one category, based on its vanilla spawn category, and modded mobs are covered automatically. Each category has its own file, such as hostile mobs allowlist.json or farm animals allowlist.json, created with defaults on first run and then adjusted so that only chosen mob IDs remain.
The mod exists because default spawning does not always match what a server needs. Simple on and off switches cover broad cases, while the per-mob files allow precise choices. Fabric API is a required dependency, and MobRules is published for Fabric and NeoForge, with files for 1.21.1 – 26.2 and the 1.1 release line. The code is distributed under All rights reserved, so it is not open source.
Key features
Three spawn categories
Hostile, farm and aquatic groups each take their own rules, so one setting does not affect the others.
Allow or block a category
Each category can keep vanilla behavior or be turned off entirely, with no per-mob editing needed.
JSON allowlists
Selective control reads a file per category and spawns only the mob IDs listed, so the spawn list is set exactly.
Modded mobs covered
Mobs from other mods fall into the category of their vanilla spawn group without extra configuration.
Compatibility
Latest build for each game version and loader.
26.x1 of 1 version with builds
1.21.x11 of 11 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Server owners and modpack makers who want to decide exactly which mobs appear in their worlds, without editing each mob separately.
How it compares
MobStack26 is a server-required mod for Fabric, Forge, NeoForge and Quilt, with files for 1.21 – 26.2, under the MIT License but not open source, so clients may leave it out. BredExempt is server-side only for Fabric, NeoForge and Quilt, covering 1.21.6 – 26.2, and is open source under the MIT License. MobRules is client and server, so every player needs it too, and it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| MobRules | Fabric and NeoForge | 1.21.1 – 26.2 | Client and server | 2026-08-04 |
| MobStack26 | Fabric, Forge, NeoForge and Quilt | 1.21 – 26.2 | Server required, client optional | 2026-06-26 |
| BredExempt | Fabric, NeoForge and Quilt | 1.21.6 – 26.2 | Server-side only | 2026-07-20 |
Questions
Does MobRules need Fabric API?
Does MobRules have to be installed on both sides?
Which command level changes the rules?
In the catalog
MobRules is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 13,894 mods support Minecraft 26.2.
More from Relatively Boring
Similar mods
What the author says
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…
Official listing
- Modrinth page
- modrinth.com/mod/mobrules
- Owner
- Relatively Boring
- Published
- 2025-08-24
- Updated on Modrinth
- 2026-08-04
- Facts verified
- 2026-10-15
