描述
RainControl 是一款简单的服务端 Fabric 模组,允许用户配置下雨的间隔时间、降雨持续时间、雷暴持续时间以及雷暴发生的概率。
配置
配置文件位于 /config/RainControl/config.acfg,默认配置如下:
# 你希望晴朗天气持续的最短和最长时长,单位为刻(ticks)。默认值与原版一致
min_clear_weather=84000
max_clear_weather=180000
# 你希望雨天持续的最短和最长时长,单位为刻(ticks)。默认值与原版一致
min_rainy_weather=6000
max_rainy_weather=24000
# 你希望雷暴持续的最短和最长时长,单位为刻(ticks)。默认值与原版一致
min_thunder_weather=3600
max_thunder_weather=15600
# 你希望两次雷暴之间的最短和最长间隔,单位为刻(ticks)。默认值与原版一致
# 注意:你所设置的最大值不一定就是游戏内的最大值,因为雷暴必须伴随降雨才会被游戏允许触发
# 这意味着雷暴的概率也依赖于降雨,因此如果你将降雨间隔设置为较高值,你可能需要降低这些数值
min_clear_thunder=10000
max_clear_thunder=160000
如你所见,所有内容均已添加注释,应该相当直观易懂——但如果你确实需要任何帮助,请随时在 GitHub Issue 追踪器中联系我。由于数值单位是刻(ticks),请记住通常 20 刻等于现实时间的 1 秒,且游戏内的一天有 24000 刻。
其他
该模组为开源项目,如果对你有用,你可以在此查看代码仓库 here :)
希望这个模组能为你带来一些便利 :)
Description
RainControl is a simple server side Fabric mod which allows the user to configure the time between rain, the duration of rain, the duration of thunder and also the chance of a thunderstorm.
Config
The config file is found at /config/RainControl/config.acfg with a default configuration of:
# The minimum and maximum amount of time you want clear weather to last, in ticks. Defaults are set to vanilla
min_clear_weather=84000
max_clear_weather=180000
# The minimum and maximum amount of time you want rainy weather to last, in ticks. Defaults are set to vanilla
min_rainy_weather=6000
max_rainy_weather=24000
# The minimum and maximum amount of time you want thunder to go on for, in ticks. Defaults are set to vanilla
min_thunder_weather=3600
max_thunder_weather=15600
# The minimum and maximum amount of time you want between thunder storms, in ticks. Defaults are set to vanilla
# Note: The maximum you pick will not necessarily be the in-game maximum, as thunder and rain have to coincide for the game to allow thunder
# This means that the chance of a thunderstorm also relies on rain, so if you set the time between rain to be a high value, you might want to lower these values
min_clear_thunder=10000
max_clear_thunder=160000
As you can see everything is commented, and should be fairly self explanatory - but if you do need any help don't hesitate to ask me in the GitHub issue tracker. Since values are in ticks it is important to remember that 20 ticks typically is 1 second in real time, and that an in-game day has 24000 ticks.
Other
The mod is open source, so you can checkout the repo here should it be of use to you :)
Hopefully this mod can provide some use to you :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧