No Mob Farms

No Mob Farms

A mod that hampers mob farms

by
6.9K Downloads
fabricforgeneoforgeutility
Rent Server with this Mod

About this Mod

This is a Fabric server-side mod that implements various countermeasures against mob farms.

Natural Spawner Nerf

This applies to "naturally spawned" mobs (that is, not through a mob spawner or structure generation), including the ones that continuously spawn in structures like Guardians. It detects when mobs originating from certain chunks die too frequently and slows down their spawn rates.

The algorithm can be configured through the nomobfarm.properties file:

natural_slowdown_rate=1000         # Rate at which mob spawns are slowed down relative to the
                                   # mob death frequency. Higher values lead to longer intervals in which
                                   # mobs won't spawn.
natural_recovery_rate=3.0E-4 # Rate at which the spawn algorithm goes back to normal
                                   # when mobs aren't dying.. It's essentially the rate at which the algorithm
                                   # "forgets" how many mobs died.
natural_max_wait=100000            # Maximum interval (in ticks) in which mobs won't spawn.
natural_min_deaths=0               # Minimum number of mob deaths to trigger the slowdown
natural_offline_persistence=259200 # How long the data about a chunk should persist since the last write (in
                                   # seconds). Default is 3 real world days, which means that if a chunk is
                                   # left alone for 3 days it will be restored to normal. This is different
                                   # than the recovery rate, because the latter is used while the chunk is
                                   # still loaded and depends on the death counter.

With these default values, the algorithm is moderately aggressive. It quickly curbs spawn rates when more than a few mobs from the same chunk die in a short time (because rapid, consecutive spawn batches in the same area are indicative of spawn mechanics abuse), but still allows mobs to spawn once in a while. Decrease the value of slowdown_rate to make it more conservative, increase max_wait and decrease recovery_rate to further reduce the rates for suspicious chunks.

You can disable this feature by setting natural_max_wait to 0.

Mob Spawner Nerf

This applies to mob spawner blocks. The default values are:

spawner_slowdown_rate=30
spawner_recovery_rate=0.001
spawner_max_wait=10000
spawner_min_deaths=15
spawner_offline_persistence=259200

These values are rather conservative because, unlike for the other type of spawn mechanic, there's no obvious sign that the mobs are being spawned inside of a farm, at least based purely on the spawn/death rates, and also because spawners already have their own delay. This configuration will progressively slow down the spawner after at least 15 mobs die, though still allowing some mob spawns once in a while and allowing the spawner to go back to normal if its mobs aren't dying for a while (or aren't spawning at all), as long as the chunk remains loaded (and ticking).  The idea is that a player using the spawner legitimately would likely be discouraged by the slowdown and leave, allowing it to go back to normal after a while, while a farm would have to be used for a longer time to be actually worth building, which would cause the spawner to reach a high number of cumulated deaths and take a lot of time to go back to normal.

You can disable this feature by setting spawner_max_wait to 0.

Iron Farm Nerf

Controlled by the config option golem_detection_memory=10000, which adds to the time interval (in ticks) in which villagers won't spawn a golem after seeing one. Set to 0 to disable.

Raid Farm Countermeasures

raid_center_min_randomization=16
raid_center_max_randomization=24

These two values regulate how much the position of the raid center is randomized, which hampers raid farms in which there's a single, small spawn platform. Although the default values should cause existing designs to fail most of the times, players who are aware of this randomization could redesign their farms to take it into account. In that case increasing the raid_center_max_randomization value would make it harder to elude the countermeasure, but also reduce the fail rate.

Set both to 0 to disable this feature.

raid_min_size=512

This is the mininum "area" of a village required to start a raid. This breaks most existing raid farm designs, including the ones without a specific spawn platform. The area calculated is that of a rectangle that includes all the POIs (claimed beds and workstations) within 64 blocks of the player. As a side effect, this feature might also affect very sparse natural villages, particularly if they have been just found and the beds aren't claimed yet, or the terrain causes the villagers to be unable to find them. It will also affect natural villages where most villagers have died.

Set to 0 to disable this feature.

raid_no_bad_omen_loop=true

Prevents illagers that were previously spawned in a raid and left it from giving the bad omen effect. This prevents infinite raid farms from starting raids other than the first one.

Available Versions

No Mob Farms 1.6.7release
MC 1.21.8neoforge
December 1, 2025
No Mob Farms 1.6.7release
MC 1.21.8fabric
December 1, 2025
No Mob Farms 1.6.7release
MC 1.21, 1.21.1, 1.21.2, 1.21.3neoforge
December 1, 2025
No Mob Farms 1.6.7release
MC 1.21, 1.21.1, 1.21.2, 1.21.3fabric
December 1, 2025
No Mob Farms 1.6.6release
MC 1.20, 1.20.1forge, neoforge
December 1, 2025

How to Install No Mob Farms on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).

3

Install Mod

Open the mod browser in the dashboard and search for "No Mob Farms". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

1.21.8, 1.21.3, 1.21.2 (+5 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

No Mob Farms server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.

Is No Mob Farms compatible with fabric and forge and neoforge?

No Mob Farms officially supports fabric, forge, neoforge for Minecraft 1.21.8, 1.21.3, 1.21.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with No Mob Farms – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if No Mob Farms consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install No Mob Farms with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.81.21.31.21.21.21.11.211.20.11.201.18.1