Package de.steev.bm.changes.env
Class weather
java.lang.Object
weather
handles all weather things
- 
Field Summary
FieldsModifier and TypeFieldDescription(package private) longhow long thunders are forbidden(package private) static longlast time a thunder has been - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangeWeather(org.bukkit.World world)handles weahterprivate static booleanisThunder(org.bukkit.World world)returns if there is a thunderstorm 
- 
Field Details
- 
lastThunder
static long lastThunderlast time a thunder has been - 
delay
long delayhow long thunders are forbidden 
 - 
 - 
Constructor Details
- 
weather
public weather() 
 - 
 - 
Method Details
- 
isThunder
private 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
 
 - 
changeWeather
public static void changeWeather(org.bukkit.World world)handles weahter- Parameters:
 world- the current world
 
 -