MobFilter

Quick rating

MobFilter

No reviews yet

Highly configurable mob spawning filter. Serverside mod.

No Theme
No Genre
Small Group & Co-op Play
Mod Loaders
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
mobfilter-fabric-0.28.0+26.2.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

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

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!

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

The first time you run Minecraft with MobFilter installed, two empty configuration files will be created in the config directory of your minecraft installation: mobfilter.simple and mobfilter.json5.

Simple Configuration (mobfilter.simple)

Only available in versions 0.19.0+1.21.7 and later.

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

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

1m
Total Downloads
CurseForge
~360,000
Modrinth
~680,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works