MobFilter lets you limit mob spawning in your world so that you can
- Create a safe zone around your base where hostile mobs don't spawn
- Completely prevent certain mobs from ever spawning
- Prevent mobs from spawning in certain biomes
- ...and more.
MobFilter uses a flexible, rules-based filtering system. When Minecraft wants to spawn a new mob, MobFilter checks the rules you have configured to see if the spawn should be 'vetoed.'
MobFilter uses the Fabric modloader and is server-only (so it works with vanilla clients)
I will not be doing a Forge version of MobFilter.
Usage
The first time you run Minecraft with the mobfilter jar installed, an empty configuration file will be created in `config/mobfilter.yml`. Just edit this file to set up your rules and they'll take effect the next time you start a world.
Rules can test for several conditions, including:
- Block Position
- Location (Biome, World, Dimension, BlockId)
- Mob Type (EntiyId or SpawnGroup)
- Time of Day
- Light Level
See the default configuration file for examples and more detail on setting up rules.
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 other mods out there that manage mob spawning but none of them did quite what I needed them to do.
Legal
This mod is published under the Apache 2.0 License.
Feel free to include this mod in your modpack provided you attribute it to pcal.net.