Class TimeSkipEvent

All Implemented Interfaces:
Cancellable

public class TimeSkipEvent extends ClockTimeSkipEvent
Called when the time skips in a world.

If the event is cancelled the time will not change.

Since:
1.15.1
See Also:
  • Constructor Details

  • Method Details

    • getWorld

      @NotNull public @NotNull World getWorld()
      Returns the world that time is skipped in.
      Returns:
      world that time is skipped in
      Since:
      26.1.2
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Overrides:
      getHandlers in class ClockTimeSkipEvent
      Since:
      1.15.1
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()
      Since:
      1.15.1