Class TimeSkipEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.ClockTimeSkipEvent
org.bukkit.event.world.TimeSkipEvent
- All Implemented Interfaces:
Cancellable
Called when the time skips in a world.
If the event is cancelled the time will not change.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ClockTimeSkipEvent
ClockTimeSkipEvent.SkipReasonNested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionTimeSkipEvent(@NotNull World world, @NotNull ClockTimeSkipEvent.SkipReason skipReason, long skipAmount) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerListgetWorld()Returns the world that time is skipped in.Methods inherited from class ClockTimeSkipEvent
getSkipAmount, getSkipReason, isCancelled, setCancelled, setSkipAmountMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
TimeSkipEvent
-
-
Method Details
-
getWorld
-
getHandlers
- Overrides:
getHandlersin classClockTimeSkipEvent
-
getHandlerList
-