Gets the duration of the precipitations is ticks.
Sets the duration of the precipitation in ticks.
Gets the world where the event has happened.
Cancels the event. A cancelled event is not propagated further to the next listeners, if there's any.
Indicates whether the event has been cancelled. A cancelled event cannot be uncancelled.
Called it starts to rain or snow in the world.