这是一个用于 Fabric 的服务端模组,实现了多种针对刷怪笼 farms(怪物农场)的反制措施。
自然生成怪物减速
此功能适用于“自然生成”的怪物(即非通过刷怪块或结构生成),包括那些在守卫者等结构中持续生成的怪物。它会检测来自特定区块的怪物是否死亡过于频繁,并降低其生成速率。
该算法可通过 nomobfarm.properties 文件进行配置:
natural_slowdown_rate=1000 # 相对于怪物死亡频率,怪物生成速率减慢的比例。
# 数值越高,怪物不生成的间隔时间越长。
natural_recovery_rate=3.0E-4 # 当怪物不再死亡时,生成算法恢复正常状态的速度。
# 这本质上是算法“忘记”之前有多少怪物死亡的速率。
natural_max_wait=100000 # 怪物不生成的最大间隔时间(以刻为单位)。
natural_min_deaths=0 # 触发减速所需的最小怪物死亡数量
natural_offline_persistence=259200 # 自上次写入以来,关于某个区块的数据应保留多长时间(以秒为单位)。
# 默认值为现实世界中的 3 天,这意味着如果某个区块闲置 3 天,它将恢复到正常状态。
# 这与恢复速率不同,因为后者是在区块仍处于加载状态且依赖死亡计数器时使用。
使用这些默认值时,算法具有中度的激进性。当短时间内同一区块内有多个怪物死亡时(因为在同一区域快速、连续地生成批次表明存在生成机制滥用),它会迅速遏制生成速率,但仍允许偶尔生成怪物。降低 slowdown_rate 的值可使其更加保守;增加 max_wait 并降低 recovery_rate 可进一步降低可疑区块的生成速率。
你可以将 natural_max_wait 设置为 0 来禁用此功能。
刷怪块减速
此功能适用于刷怪块方块。默认值为:
spawner_slowdown_rate=30
spawner_recovery_rate=0.001
spawner_max_wait=10000
spawner_min_deaths=15
spawner_offline_persistence=259200
这些值相当保守,因为与另一种生成机制不同,仅基于生成/死亡速率来看,没有明显的迹象表明怪物是在农场内生成的;此外,刷怪块本身已有延迟机制。此配置将在至少 15 只怪物死亡后逐步降低刷怪块的生成速度,但仍允许偶尔生成一些怪物,并在一段时间内怪物未死亡(或未生成)时让刷怪块恢复正常,前提是区块保持加载(和 ticking)。其理念是,合法使用刷怪块的玩家可能会因减速而受挫并离开,从而使刷怪块在一段时间后恢复正常;而农场则需要更长时间的使用才值得建造,这将导致刷怪块累积大量的死亡次数,并且需要很长时间才能恢复正常。
你可以将 spawner_max_wait 设置为 0 来禁用此功能。
铁傀儡农场减速
由配置选项 golem_detection_memory=10000 控制,该选项增加了村民在看到一只铁傀儡后不会生成新铁傀儡的时间间隔(以刻为单位)。设置为 0 以禁用。
袭击农场反制措施
raid_center_min_randomization=16
raid_center_max_randomization=24
这两个值控制袭击中心位置的随机化程度,从而阻碍那些只有一个小型生成平台的袭击农场。虽然默认值应导致现有设计大多数情况下失效,但了解这种随机化的玩家可以重新设计他们的农场以考虑这一点。在这种情况下,增加 raid_center_max_randomization 的值会使规避反制措施变得更加困难,但也会降低失败率。
将两者都设置为 0 以禁用此功能。
raid_min_size=512
这是启动袭击所需的村庄最小“面积”。这会破坏大多数现有的袭击农场设计,包括那些没有特定生成平台的设计。计算出的面积是一个矩形的面积,包含了玩家周围 64 格范围内所有 POI(已认领的床和工作台)。作为副作用,此功能也可能影响非常稀疏的自然村庄,特别是如果它们刚被发现且床尚未被认领,或者地形导致村民无法找到它们。它也会影响大多数村民已死亡的自然村庄。
设置为 0 以禁用此功能。
raid_no_bad_omen_loop=true
防止之前在袭击中生成并已离开的灾厄村民给予不良预兆效果。这可以防止无限袭击农场从第二次开始发起袭击。
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.
下载 No Mob Farms
下载 No Mob Farms
下载 No Mob Farms
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 No Mob Farms
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 No Mob Farms
下载 No Mob Farms
下载 No Mob Farms
下载 No Mob Farms
下载 No Mob Farms
下载 No Mob Farms
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧