Class WorldBorderBoundsChangeFinishEvent


public class WorldBorderBoundsChangeFinishEvent extends WorldBorderEvent
Called when a moving world border has finished it's move.
  • Constructor Details

  • Method Details

    • getOldSize

      public double getOldSize()
      Gets the old size of the worldborder.
      Returns:
      the old size
    • getNewSize

      public double getNewSize()
      Gets the new size of the worldborder.
      Returns:
      the new size
    • getDuration

      public double getDuration()
      Gets the duration this worldborder took to make the change.

      Can be 0 if handlers for WorldBorderCenterChangeEvent set the duration to 0.

      Returns:
      the duration of the transition
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()