Interface WeatherUniverse.Mutable
- 
- All Superinterfaces:
 WeatherUniverse
- All Known Subinterfaces:
 ServerWorld,ServerWorldProperties
- Enclosing interface:
 - WeatherUniverse
 
public static interface WeatherUniverse.Mutable extends WeatherUniverse
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.spongepowered.api.world.weather.WeatherUniverse
WeatherUniverse.Mutable 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetWeather(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 Detail
- 
setWeather
void setWeather(WeatherType type)
Sets theWeatherof this universe with a random duration.- Parameters:
 type- The type of weather
 
- 
setWeather
void setWeather(WeatherType type, Ticks ticks)
Sets theWeatherTypeof the world with the specifiedTicksduration.- Parameters:
 type- The weather that should be switched toticks- The specified tick duration
 
 - 
 
 -