This is a quite nice weather mod, I especially like the option to set the weather by command, this is very useful for testing.
I intend to use this mod, for one of my mods to add the possibility to get water in a skyblock world by collecting rain. Is there a way for my mod to detect whethere or not it is currently raining?
I have yet to document the API, however downfall can already be detected.
You can pass a callback function to weather_mod.register_on_weather_change(callback) that will be called with the downfall name as argument whenever it changes.
This is a quite nice weather mod, I especially like the option to set the weather by command, this is very useful for testing. I intend to use this mod, for one of my mods to add the possibility to get water in a skyblock world by collecting rain. Is there a way for my mod to detect whethere or not it is currently raining?
I have yet to document the API, however downfall can already be detected. You can pass a callback function to
weather_mod.register_on_weather_change(callback)
that will be called with the downfall name as argument whenever it changes.