Download No Mob Farms — Minecraft Mods — MetaMods

No Mob Farms

Active

Downloads

0

Last update

3 years ago

Versions

1.18.1
Server
Fabric
Neoforge
Forge
Utils

No Mob Farms

This server-side Fabric mod implements various countermeasures against automated mob farms, making gameplay more balanced and fair.

Natural Spawn Limitation

This function affects naturally spawning mobs (not from spawners or structure generation), including continuous spawns like Guardians. The system monitors when mobs die too frequently in specific chunks and automatically reduces their spawn rates.

Algorithm settings can be modified through the nomobfarm.properties file:

natural_slowdown_rate=1000        # Slowdown coefficient relative to mob death
                                  # frequency. Higher values lead to longer
                                  # intervals without spawns.
natural_recovery_rate=3.0E-4      # Recovery rate for normal spawning when
                                  # mobs aren't dying. Essentially, this is the
                                  # rate at which death counts are "forgotten".
natural_max_wait=100000           # Maximum interval (in ticks) without mob spawns.
natural_min_deaths=0              # Minimum death count to activate slowdown
natural_offline_persistence=259200 # Data retention time for chunks (in seconds).
                                  # Default is 3 real days.

Default settings provide moderate algorithm aggressiveness. It quickly responds to frequent mob deaths in the same chunk (indicating spawn mechanic abuse), but still allows occasional mob appearances. To disable this feature, set natural_max_wait to 0.

Spawner Limitations

This function applies to mob spawner blocks. Default settings:

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

These values are more conservative since spawners already have their own delays. The system gradually slows down the spawner after at least 15 mob deaths, but still allows some mobs to appear and restores normal operation if mobs stop dying.

Golem Farm Countermeasures

Controlled by the parameter golem_detection_memory=10000, which increases the interval (in ticks) during which villagers won't spawn a golem after encountering one. Set to 0 to disable.

Raid Farm Measures

raid_center_min_randomization=16
raid_center_max_randomization=24

These parameters regulate the degree of raid center position randomization, which interferes with farms using a single small spawn platform.

raid_min_size=512

Minimum "area" of a village required to start a raid. This breaks most existing farm designs.

raid_no_bad_omen_loop=true

Prevents obtaining the bad omen effect from illagers that previously spawned in a raid and left it. This eliminates the possibility of creating infinite raid farms.

Project members
orlouge

orlouge

Developer

orlouge_

orlouge_

Created: 28 Dec 2021

ID: 14681