Sprache

Mob Filter

Mob Filter

Modrinth

Serverside rules to limit mob spawning

667.0k Downloads 181 Follower aktualisiert 2mo ago
neueste v0.27.0+26.1.2 Modrinth
Fabric Neoforge 1.18 – 26.1.2 Utility

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.

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

Versionen

Release
0.27.0+26.1.2
fabric · 26.1.2 · 2mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.27.0+26.1.2'>https://github.com/pcal43/mob-filter/releases/tag/0.27.0+26.1.2</a></p>
1.6k
Release
0.27.0+26.1.2
neoforge · 26.1.2 · 2mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.27.0+26.1.2'>https://github.com/pcal43/mob-filter/releases/tag/0.27.0+26.1.2</a></p>
67
Release
0.26.1+26.1.1
fabric · 26.1.1 · 2mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.26.1+26.1.1'>https://github.com/pcal43/mob-filter/releases/tag/0.26.1+26.1.1</a></p>
47
Release
0.26.1+26.1.1
neoforge · 26.1.1 · 2mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.26.1+26.1.1'>https://github.com/pcal43/mob-filter/releases/tag/0.26.1+26.1.1</a></p>
13
Release
0.25.0+26.1
fabric · 26.1 · 2mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.25.0+26.1'>https://github.com/pcal43/mob-filter/releases/tag/0.25.0+26.1</a></p>
99
Release
0.25.0+26.1
neoforge · 26.1 · 2mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.25.0+26.1'>https://github.com/pcal43/mob-filter/releases/tag/0.25.0+26.1</a></p>
15
Release
0.24.0+1.21.11
fabric · 1.21.11 · 5mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.24.0+1.21.11'>https://github.com/pcal43/mob-filter/releases/tag/0.24.0+1.21.11</a></p>
6.3k
Release
0.24.0+1.21.11
neoforge · 1.21.11 · 5mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.24.0+1.21.11'>https://github.com/pcal43/mob-filter/releases/tag/0.24.0+1.21.11</a></p>
134
Release
0.23.0+1.21.10
neoforge · 1.21.10 · 7mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.23.0+1.21.10'>https://github.com/pcal43/mob-filter/releases/tag/0.23.0+1.21.10</a></p>
200
Release
0.23.0+1.21.10
fabric · 1.21.10 · 7mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.23.0+1.21.10'>https://github.com/pcal43/mob-filter/releases/tag/0.23.0+1.21.10</a></p>
1.4k
Release
0.22.0+1.21.10
fabric · 1.21.10 · 7mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.22.0+1.21.10'>https://github.com/pcal43/mob-filter/releases/tag/0.22.0+1.21.10</a></p>
121
Release
0.21.0+1.21.9
fabric · 1.21.9 · 8mo ago
<p><a href='https://github.com/pcal43/mob-filter/releases/tag/0.21.0+1.21.9'>https://github.com/pcal43/mob-filter/releases/tag/0.21.0+1.21.9</a></p>
599

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.

Herunterladen Mob Filter

R 0.27.0+26.1.2 26.1.2 fabric 77 KB R 0.27.0+26.1.2 26.1.2 neoforge 75 KB R 0.26.1+26.1.1 26.1.1 fabric 77 KB R 0.26.1+26.1.1 26.1.1 neoforge 75 KB R 0.25.0+26.1 26.1 fabric 77 KB R 0.25.0+26.1 26.1 neoforge 75 KB R 0.24.0+1.21.11 1.21.11 fabric 78 KB R 0.24.0+1.21.11 1.21.11 neoforge 75 KB R 0.23.0+1.21.10 1.21.10 neoforge 75 KB R 0.23.0+1.21.10 1.21.10 fabric 78 KB R 0.22.0+1.21.10 1.21.10 fabric 76 KB R 0.21.0+1.21.9 1.21.9 fabric 76 KB R 0.20.0+1.21.8 1.21.8 fabric 76 KB R 0.19.1+1.21.7 1.21.7 fabric 76 KB R 0.19.0+1.21.7 1.21.7 fabric 74 KB R 0.18.0+1.21.7 1.21.7 fabric 65 KB R 0.17.0+1.21.6 1.21.6 fabric 65 KB R 0.16.1+1.21.6 1.21.6 fabric 65 KB R 0.16.0+1.21.6 1.21.6 fabric 60 KB R 0.15.0+1.21.5 1.21.5 fabric 60 KB R 0.14.4+1.21.4 1.21.4 fabric 60 KB R 0.4.3+1.20.1 1.20.1 fabric 344 KB R 0.14.3+1.21.4 1.21.4 fabric 57 KB R 0.14.2+1.21.4 1.21.4 fabric 55 KB R 0.14.1+1.21.4 1.21.4 fabric 54 KB R 0.14.0+1.21.4 1.21.4 fabric 342 KB R 0.13.0+1.21.3 1.21.3 fabric 342 KB R 0.11.2+1.21.1 1.21.1 fabric 342 KB R 0.11.1+1.21.1 1.21.1 fabric 341 KB R 0.11.0+1.21.1 1.21.1 fabric 341 KB R 0.10.0+1.21 1.21 fabric 341 KB R 0.9.0+1.20.6 1.20.6 fabric 341 KB R 0.4.2+1.20.1 1.20.1 fabric 342 KB R 0.8.1+1.20.4 1.20.4 fabric 340 KB R 0.8.0+1.20.4 1.20.4 fabric 334 KB R 0.7.2+1.20.4 1.20.4 fabric 330 KB R 0.7.1+1.20.4 1.20.4 fabric 329 KB R 0.7.0+1.20.4 1.20.4 fabric 329 KB R 0.6.0+1.20.2 1.20.2 fabric 330 KB R 0.5.1+1.20.2 1.20.2 fabric 330 KB R 0.5.0+1.20.2 1.20.2 fabric 330 KB R 0.4.1+1.20.1 1.20.1 fabric 329 KB R 0.2.2+1.19.4 1.19.4 fabric 329 KB R 0.0.3+1.18.2 1.18, 1.18.1, 1.18.2 fabric 329 KB R 0.4.0+1.20.1 1.20.1 fabric 329 KB R 0.3.0+1.20.0 1.20 fabric 327 KB R 0.2.1+1.19.4 1.19.4 fabric 327 KB R 0.2.0+1.19.4 1.19.4 fabric 327 KB R 0.1.0+1.19.3 1.19.3 fabric 327 KB R 0.0.5+1.18.2 1.18.2 fabric 327 KB

Dateien werden direkt von der Originalquelle bereitgestellt. Modgrid hostet oder verändert sie nicht.