Currently, this is not possible to mod the class Rain, because it has been designed with
typedef WeatherPhenomenon Rain;
instead of using
class Rain extends WeatherPhenomenon
So we can't mod the Rain class.
That's would be extremely useful for overriding OnBeforeChange function, so detecting a change of rain. To update some state of some objects, instead of checking every x ms or each frame.