Interface WeatherUniverse.Mutable
- All Superinterfaces:
WeatherUniverse
- All Known Subinterfaces:
ServerWorld
,ServerWorldProperties
- Enclosing interface:
- WeatherUniverse
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.world.weather.WeatherUniverse
WeatherUniverse.Mutable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setWeather
(WeatherType type) Sets theWeather
of this universe with a random duration.void
setWeather
(WeatherType type, Ticks ticks) Sets theWeatherType
of the world with the specifiedTicks
duration.Methods inherited from interface org.spongepowered.api.world.weather.WeatherUniverse
weather
-
Method Details
-
setWeather
Sets theWeather
of this universe with a random duration.- Parameters:
type
- The type of weather
-
setWeather
Sets theWeatherType
of the world with the specifiedTicks
duration.- Parameters:
type
- The weather that should be switched toticks
- The specified tick duration
-