Back to mods
MobFilter project artwork

CurseForge · Minecraft mod

MobFilter

Highly configurable mob spawning filter. Serverside mod.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MobFilter release matches 26.2 NeoForge?

Updated 28 days ago
Best match for your filters mobfilter-neoforge-0.28.0+26.2.jar
Game version 26.2
Loader NeoForge

mobfilter-neoforge-0.28.0+26.2.jar targets 26.2 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is MobFilter required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does mobfilter-neoforge-0.28.0+26.2.jar need?

mobfilter-neoforge-0.28.0+26.2.jar on 26.2 NeoForge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add MobFilter without breaking your instance.

Built for mobfilter-neoforge-0.28.0+26.2.jar on 26.2 NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use mobfilter-neoforge-0.28.0+26.2.jar. It targets 26.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside mobfilter-neoforge-0.28.0+26.2.jar. It opens that exact file at the source.

About this project

What does MobFilter add?

MobFilter

MobFilter is a Minecraft mod that allows you to limit spawning of mobs in your world. You can use it to

  • Completely prevent particular mobs from ever spawning
  • Create safe zones in your world where mobs aren't allowed to spawn.
  • Limit mob spawning to specific biomes, times, or light levels
  • Fabric and NeoForge support
  • …and more

Now with NeoForge support!

▶ Watch the Explainer!

Watch on YouTube

(thanks, SonjQ!)

Usage

MobFilter uses a flexible, rule-based filtering system that you configure. When Minecraft wants to spawn a new mob, MobFilter checks the rules you provide to see if the spawn should be 'vetoed.'

If you just want to remove some mobs from the game, edit mobfilter.simple and add a list of the mob ids that you want to prevent spawning:

# I never want to see these mobs again:
minecraft:creeper
minecraft:phantom
minecraft:silverfish

You can also use negations and wildcards to filter out most or all of the mobs in a namespace:

# I love cats, so don't filter them...
!minecraft:cat

# ...but I don't want ANY other vanilla mobs
minecraft:*

See the documentation for more details.

Advanced Configuration (mobfilter.json5)

If you need more detailed control over mob spawning, you can instead edit mobfilter.json5. This file is a bit more complicated to configure but it allows your filtering logic to test for more complicated conditions, including:

  • Block Position
  • Location (Biome, World, Dimension, BlockId)
  • Mob Type (EntiyId or SpawnGroup)
  • Time of Day
  • Light Level
  • Phase of moon

For example, if you want to prevent hostile mobs from spawning in a specific area, you could add a rule like this:

{ 
  rules : [
    {
      name : "Safe Zone",
      what : 'DISALLOW_SPAWN',
      when : {
        category : [ 'MONSTER' ],
        dimensionId : [ 'minecraft:overworld' ],
        blockX: [ -128, 234 ],
        blockY : [ 63, 'MAX' ],
        blockZ : [ -321, 512 ]
      }
    }
  ]
}

See the documentation for more details.

Why This Mod?

I wrote this mod because I wanted to be able to be able to play survival minecraft with my daughter, and that meant we had to have a mob-free area around our base. There are numerous other mods out there that manage mob spawning but none of them did quite what I needed them to do.

Backports?

As a rule, I don't do backports unless critical security issues are involved. It's just too much tedious work to backport every mod feature to every old version. But I'm happy to accept PRs if you want to do one yourself.

Legal

This mod is published under the MIT License.

You're free to include this mod in your modpack provided you attribute it to pcal.net.

Questions?

If you have questions about this mod, please join the Discord server:

https://discord.pcal.net

Project description from CurseForge.

Pick your setup

MobFilter by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

33 available setups

Showing the newest 12 of 27 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

MobFilter versions and loaders

1 of 58 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.