Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.player.PlayerTeleportEvent Class Reference
Inheritance diagram for org.bukkit.event.player.PlayerTeleportEvent:
org.bukkit.event.player.PlayerMoveEvent org.bukkit.event.player.PlayerEvent org.bukkit.event.Cancellable org.bukkit.event.Event org.bukkit.event.player.PlayerPortalEvent

Classes

enum  TeleportCause
 

Public Member Functions

 PlayerTeleportEvent (final Player player, final Location from, final Location to)
 
 PlayerTeleportEvent (final Player player, final Location from, final Location to, final TeleportCause cause)
 
TeleportCause getCause ()
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.player.PlayerMoveEvent
 PlayerMoveEvent (final Player player, final Location from, final Location to)
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
Location getFrom ()
 
void setFrom (Location from)
 
Location getTo ()
 
void setTo (Location to)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.player.PlayerEvent
 PlayerEvent (final Player who)
 
final Player getPlayer ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Static Public Member Functions

static HandlerList getHandlerList ()
 
- Static Public Member Functions inherited from org.bukkit.event.player.PlayerMoveEvent
static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.player.PlayerEvent
Player player
 

Detailed Description

Holds information for player teleport events

Definition at line 10 of file PlayerTeleportEvent.java.

Member Function Documentation

TeleportCause org.bukkit.event.player.PlayerTeleportEvent.getCause ( )

Gets the cause of this teleportation event

Returns
Cause of the event

Definition at line 29 of file PlayerTeleportEvent.java.

29  {
30  return cause;
31  }

The documentation for this class was generated from the following file: