Package de.steev.bm.changes.env
Class weather
java.lang.Object
weather
handles all weather things
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) longhow long thunders are forbidden(package private) static longlast time a thunder has been
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidchangeWeather(org.bukkit.World world)handles weahterprivate static booleanisThunder(org.bukkit.World world)returns if there is a thunderstorm
- 
Field Details- 
lastThunderstatic long lastThunderlast time a thunder has been
- 
delaylong delayhow long thunders are forbidden
 
- 
- 
Constructor Details- 
weatherpublic weather()
 
- 
- 
Method Details- 
isThunderprivate static boolean isThunder(org.bukkit.World world)returns if there is a thunderstorm- Parameters:
- world- the world to check in
- Returns:
- boolean if a thunderstorm is active or not
 
- 
changeWeatherpublic static void changeWeather(org.bukkit.World world)handles weahter- Parameters:
- world- the current world
 
 
-