java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.level.WeatherEvent
org.cloudburstmc.api.event.level.WeatherChangeEvent
- All Implemented Interfaces:
Cancellable
author: funcraft
Nukkit Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the state of weather that the world is being set toMethods inherited from class org.cloudburstmc.api.event.level.WeatherEvent
getLevelMethods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelled, setCancelledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
WeatherChangeEvent
-
-
Method Details
-
toWeatherState
public boolean toWeatherState()Gets the state of weather that the world is being set to- Returns:
- true if the weather is being set to raining, false otherwise
-