Class WeatherChangeEvent
java.lang.Object
com.welcome234.pluginsystem.events.WeatherChangeEvent
Called when the world weather changes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether this event is cancelledbooleanGets whether it is now rainingvoidsetCancelled(boolean cancelled)Sets the cancellation status of this event
-
Constructor Details
-
WeatherChangeEvent
public WeatherChangeEvent(boolean raining)
-
-
Method Details
-
isNowRaining
public boolean isNowRaining()Gets whether it is now raining- Returns:
- Whether raining
-
isCancelled
public boolean isCancelled()Gets whether this event is cancelled- Returns:
- Whether cancelled
-
setCancelled
public void setCancelled(boolean cancelled)Sets the cancellation status of this event- Parameters:
cancelled- Whether cancelled
-