Real Mob Filter: Control Minecraft Natural Spawns Precisely

Real Mob Filter lets you set per-entity spawn chances for natural mobs in Minecraft. Download it for Minecraft and fine-tune your world today.

Real Mob Filter

Hostile mobs have a way of turning a peaceful building project into a battlefield. Phantoms circle overhead, creepers sneak up behind you, and suddenly your relaxing evening is gone. Real Mob Filter for Minecraft gives you direct control over which mobs are allowed to appear through natural spawning, using nothing more than a small JSON config file. No commands, no complicated setup, and no dependency on the Fabric API.

This add-on is a server-side filter that hooks into the vanilla natural spawner and rolls a chance for each entity type. If you have ever wanted to reduce creeper frequency without disabling them entirely, or banish phantoms from your sky for good, this is exactly the tool for the job.

How Real Mob Filter Works

The mod mixes into NaturalSpawner.getMobForSpawn, right at the head of the method and before the game creates the entity. Vanilla already checks whether the chosen mob is null and returns early, so the filter simply cancels the attempt at that point. Nothing is created, no collision test runs, and finalizeSpawn never fires. That keeps the overhead minimal and the behavior predictable.

Every entity type in your config gets a value between 0.0 and 1.0, which represents the chance that a natural spawn attempt is allowed to proceed:

  • 0.0 cancels every attempt for that mob.
  • 0.1 allows the mob 10 percent of the time and cancels the rest.
  • 1.0 always allows the spawn.
  • Missing key means the mob is always allowed, so you only list what you want to change.

Invalid entity IDs are ignored, and values outside the 0 to 1 range are clamped automatically. The filter works for any entity, vanilla or modded, as long as its spawn goes through the natural spawner. That means spawn eggs, spawners, trial spawners, commands, and bosses are unaffected, which is ideal if you still want full control over special encounters.

Configuration and Setup

On first launch, the mod writes config/realmobfilter.json. The filter ships disabled, so nothing changes until you flip the switch. A typical file looks like this:

  • "enabled": false
  • "entities": { "minecraft:phantom": 0.0, "minecraft:creeper": 0.25 }

Set enabled to true, adjust the entity values to taste, and restart the game or server. There is no /reload support, so a restart is required after editing. That small trade-off keeps the implementation lean and avoids command overhead entirely.

Installing on Fabric

Real Mob Filter is built for Fabric and runs on modern Minecraft releases, including the 1.20 and 1.21 families. If you are wondering how to install it, the process is straightforward: drop the jar into your mods folder alongside Fabric Loader, start the game once to generate the config, then edit and restart. Because it is server-side, clients connecting to your world do not need the mod at all.

If you would rather skip manual file juggling, the foxygame.net launcher handles the whole routine for you, installing Real Mob Filter and keeping it updated with a single click while matching the correct game version automatically.

Mobcap Behavior and Compatibility

One detail worth understanding is how the filter interacts with the mobcap. Cancellation happens after vanilla has already picked the entity type, so the attempt is not replaced and there is no second roll. The mobcap therefore fills more slowly, but it still fills, using only the rolls that pass plus anything not listed in the config. In practice, your world simply contains fewer of the mobs you filtered out while the overall population stays stable.

Compatibility is solid across the board. Real Mobcap stacks cleanly with the filter, Carpet works fine, and Serilum's spawn mods have been tested without issues. A dedicated Mob Filter mod is untested but should be complementary rather than conflicting.

Final Thoughts

Real Mob Filter is a focused, lightweight solution for players and server owners who want granular control over natural spawns without command spam or heavy dependencies. Whether you want to tame the phantom problem, make creepers a rare sight, or silence a specific modded mob, a quick edit to one JSON file gets you there. Download Real Mob Filter, set your values, restart once, and enjoy a world that spawns exactly the way you intended.