MobFilter
На основе и с сохранением ключевых аспектов русского описания, но перефразированное для английской аудитории.
MobFilter is a Minecraft modification that gives you complete control over mob spawning in your world. With this mod, you can:
- Create absolutely safe zones where hostile creatures cannot spawn
- Completely disable spawning of specific mob types
- Restrict creature appearances to certain biomes, times of day, or light levels
- And many other capabilities
MobFilter works with the Fabric modloader and operates exclusively on the server side. A Forge version is not planned for development.
How It Works
The mod uses a flexible rule-based system that you configure yourself. When the game attempts to spawn a new mob, MobFilter checks all your created rules and decides whether to allow this appearance.
On the first launch of Minecraft with the installed mobfilter.jar file, an empty configuration file is created in the config/ folder. Simply edit it to add your own rules — they will take effect on the next world launch.
Available rule conditions include:
- Block coordinates
- Location (biome, world, dimension, block ID)
- Mob type (entity ID or spawn group)
- Time of day
- Light level
More detailed information about rule configuration can be found in the default configuration file.
Usage Examples
Preventing hostile mob spawning above sea level in a specific area
rules:
- name: Safe Zone
what: DISALLOW_SPAWN
when:
spawnGroup : [MONSTER]
blockX : [-128, 234]
blockY : [63, MAX]
blockZ : [-321, 512]
Complete creeper disabling and preventing squid spawning in rivers
rules:
- name: No Creepers Ever
what: DISALLOW_SPAWN
when:
entityId : [minecraft:creeper]
- name: No Freshwater Squid
what: DISALLOW_SPAWN
when:
entityId : [minecraft:squid]
biomeId : [minecraft:river, minecraft:frozen_river]
The mod is distributed under the Apache 2.0 license and may be freely used in modpacks with attribution to pcal.net.