调整幻翼生成
一个用于修改幻翼生成条件的模组。
技术细节
幻翼生成具有全局 冷却时间,为 1–2 分钟(在冷却结束后随机重置)。本模组提供了游戏内规则 phantomSpawningCooldownPercentage,允许以原版数值百分比的形式修改该冷却时间。更小的冷却值意味着幻翼可能 生成得更频繁,而更大的冷却值则意味着幻翼可能 生成得较少。
对于每位玩家,幻翼仅在“距上次休息的时间”统计值超过 1 小时(72000 刻或游戏内 3 天)时生成。本模组提供了 gamerule phantomSpawningThreshold,可根据所需的阈值(以刻为单位)调整该统计值。较小的阈值意味着玩家在睡眠后经过较短时间即可生成幻翼,从而需要更频繁地睡觉。较大的阈值则意味着幻翼仅在经过较长时间后才可能生成,使玩家能够减少睡眠频率。
幻翼的生成几率还取决于玩家超出阈值的程度。此几率现在也可通过 gamerule phantomSpawningChancePercentage 进行缩放。数值越低,生成几率越小;数值越高,生成几率越大。
用法
要更改幻翼生成的冷却时间:
/gamerule phantomSpawningCooldownPercentage <百分比 - 默认为 100>
警告
冷却时间无法手动重置。如果将其设置为较高的值,即使之后将其调低,你也可能需要等待其自动结束。
要更改睡眠阈值:
/gamerule phantomSpawningThreshold <刻数 - 默认为 72000 - 一天等于 24000 刻>
要改变幻魔生成的几率:
/gamerule phantomSpawningChancePercentage <百分比 - 默认为100>
Adjusted Phantom Spawns
A mod for modifying the conditions of Phantoms spawning.
Technical details
Phantom spawning has a global cooldown of 1–2 minutes (randomly reset after it runs out). This mod provides the gamerule phantomSpawningCooldownPercentage to modify this cooldown as a percentage of the vanilla value. Smaller cooldown values mean phantoms may spawn more often, while larger cooldown values mean phantoms may only spawn less frequently.
For each player, phantoms can only spawn if their "Time Since Last Rest" statistic exceeds 1 hour (72000 ticks or 3 in-game days). This mod provides the gamerule phantomSpawningThreshold to adjust the statistic according to a desired threshold value in ticks. Smaller threshold values mean phantoms may spawn after a shorter than regular amount of time has passed since a player has slept, making them have to sleep more often. Larger threshold values mean phantoms may only spawn after an extended amount of time, making players have to sleep less often.
The chance of phantoms spawning is also based on how much a player has exceeded the threshold. This chance is now also scalable with the phantomSpawningChancePercentage gamerule. Lower values mean less chance, and higher means more.
Usage
To change the phantom spawning cooldown:
/gamerule phantomSpawningCooldownPercentage <percentage - default is 100>
Warning
The cooldown can't be manually reset. Setting it to a high value might mean you will have to wait it out even if you set it to something lower afterwards.
To change the sleep threshold:
/gamerule phantomSpawningThreshold <ticks - default is 72000 - one day equals 24000>
To change the chance of phantoms spawning:
/gamerule phantomSpawningChancePercentage <percentage - default is 100>
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Adjusted Phantom Spawns
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 还原 “One Jar”
- 移植至 1.21.9
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
一堆修复
模组
所有本应存在的事物
模组
为 Cobblemon 添加 Mega 进化、Z 招式、太晶化、超极巨化/超巨大化、究极爆击与融合!
评论 0
登录后参与评分
还没有评论,来抢沙发吧