本模组旨在为生物生成设置一个“硬性上限”,该上限可在配置文件中自定义,具体配置如下。⬇️
剧透
[general]
#启用生物生成限制器
enableLimiter = true
#如果为 true,则限制基于每个玩家集群而非全局
perPlayerMode = false
#生物限制列表:[["minecraft:zombie","30"],["minecraft:enderman","8"]]
spawnLimits = [["minecraft:zombie", "30"], ["minecraft:skeleton", "25"]]
#用于每玩家集群检查的半径(方块单位)
#范围:16 ~ 512
playerRadius = 128
你可以将上限设置为基于单个玩家或全局生效,同时能够更改想要限制生成的生物类型和数量。
此外,为了避免附近有多名玩家时出现拥挤情况,启用“按玩家”模式后,如果附近有多人,它将仅遵循其中一名玩家的限制;半径参数告诉模组玩家之间需要多近才会合并为一个集群并只遵循单一限制。
例如,假设你安装了一个模组,它有一些不错的功能,但生物生成权重非常奇怪,导致某种生物的数量远超你的预期。使用本模组,你可以将自然生成的数量设置为任意数值。如果你希望周围区域中某类生物不超过 5 只?完全可以做到。
你可以在任何整合包中使用本模组,无需注明出处。
本模组最初是为我的即将发布的整合包而制作。
注意——更新本模组可能会覆盖你的配置文件,请提前备份至安全位置。
This mod is intended to set a "hard cap" on mob spawns, configurable in the config, which you can see below. ⬇️
Spoiler
[general]
#Enable mob spawn limiter
enableLimiter = true
#If true, limits are per player cluster instead of global
perPlayerMode = false
#List of mob limits: [["minecraft:zombie","30"],["minecraft:enderman","8"]]
spawnLimits = [["minecraft:zombie", "30"], ["minecraft:skeleton", "25"]]
#Radius in blocks used for per-player cluster checks
#Range: 16 ~ 512
playerRadius = 128
You can set the cap to be based on a per-player basis or globally, alongside being able to change the type & number of mob that you want to limit the spawning of.
Alongside this, to avoid crowding when there are groups of players nearby to eachother, the per-player setting makes it so that it will only follow the limits of 1 player if there are several people nearby, the radius tells the mod how close the players have to be in order for it to only follow the limit of 1.
Say, for example, you installed a mod, which had some neat features but the spawn weights were all really weird & you got way more of one mob than you'd like, with this mod you can set the natural spawning to be any number you want, if you want there to be no more than 5 mobs of this type in the surrounding area? You can do that.
You're allowed to use it in any modpack you'd like, no credit needed.
Made for use in my modpack, which will be releasing soon
NOTE - Updating the mod is likely to overwrite your config, make a copy somewhere safe.
评论 0
登录后参与评分
还没有评论,来抢沙发吧