Package cn.nukkit.event.level
Class ThunderChangeEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.level.WeatherEvent
cn.nukkit.event.level.ThunderChangeEvent
- All Implemented Interfaces:
Cancellable
- Author:
- funcraft (Nukkit Project)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
Gets the state of thunder that the world is being set toMethods inherited from class cn.nukkit.event.level.WeatherEvent
getLevel
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
ThunderChangeEvent
-
-
Method Details
-
getHandlers
-
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
-