java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.level.WeatherEvent
org.cloudburstmc.api.event.level.ThunderChangeEvent
- All Implemented Interfaces:
Cancellable
author: funcraft
Nukkit Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the state of thunder 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
-
ThunderChangeEvent
-
-
Method Details
-
toThunderState
public boolean toThunderState()Gets the state of thunder that the world is being set to- Returns:
- true if the thunder is being set to start, false otherwise
-