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 :)