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 TypeMethodDescriptionvoidsetWeather(WeatherType type) Sets theWeatherof this universe with a random duration.voidsetWeather(WeatherType type, Ticks ticks) Sets theWeatherTypeof the world with the specifiedTicksduration.Methods inherited from interface org.spongepowered.api.world.weather.WeatherUniverse
weather
-
Method Details
-
setWeather
Sets theWeatherof this universe with a random duration.- Parameters:
type- The type of weather
-
setWeather
Sets theWeatherTypeof the world with the specifiedTicksduration.- Parameters:
type- The weather that should be switched toticks- The specified tick duration
-