Interface ChangeWeatherEvent

All Superinterfaces:
Cancellable, Event

public interface ChangeWeatherEvent extends Event, Cancellable
Called when a Weather change occurs
  • Method Details

    • universe

      WeatherUniverse universe()
      The WeatherUniverse in which the weather changed
      Returns:
      The weather universe
    • weather

      Transaction<Weather> weather()
      The weather change.
      Returns:
      The weather change.
    • setWeather

      default void setWeather(WeatherType type, Ticks duration)
      Sets a custom weather result.
      Parameters:
      type - The weather type
      duration - The custom weather duration