Interface WeatherUniverse.Mutable

All Superinterfaces:
WeatherUniverse
All Known Subinterfaces:
ServerWorld, ServerWorldProperties
Enclosing interface:
WeatherUniverse

public static interface WeatherUniverse.Mutable extends WeatherUniverse
  • Method Details

    • setWeather

      void setWeather(WeatherType type)
      Sets the Weather of this universe with a random duration.
      Parameters:
      type - The type of weather
    • setWeather

      void setWeather(WeatherType type, Ticks ticks)
      Sets the WeatherType of the world with the specified Ticks duration.
      Parameters:
      type - The weather that should be switched to
      ticks - The specified tick duration