Class WarpPostTeleportEvent

java.lang.Object
org.bukkit.event.Event
net.godlycow.org.essc.api.warp.event.WarpPostTeleportEvent

public class WarpPostTeleportEvent extends org.bukkit.event.Event
Fired after a player arrives at a warp.

Observe-only: the teleport already happened, so this event cannot be cancelled.

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    WarpPostTeleportEvent(org.bukkit.entity.Player player, Warp warp, org.bukkit.Location destination)
    Creates a new warp post-teleport event.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Location
    Returns the location the player arrived at (a copy).
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
    Returns the teleported player.
    Returns the destination warp.

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WarpPostTeleportEvent

      public WarpPostTeleportEvent(org.bukkit.entity.Player player, Warp warp, org.bukkit.Location destination)
      Creates a new warp post-teleport event.
      Parameters:
      player - the teleported player
      warp - the destination warp
      destination - the location the player arrived at
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns the teleported player.
      Returns:
      the player
    • getWarp

      public Warp getWarp()
      Returns the destination warp.
      Returns:
      the warp
    • getDestination

      public org.bukkit.Location getDestination()
      Returns the location the player arrived at (a copy).
      Returns:
      the destination
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()