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

Public Member Functions

 PlayerChangedWorldEvent (final Player player, final World from)
 
World getFrom ()
 
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 ()
 

Additional Inherited Members

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

Detailed Description

Called when a player switches to another world.

Definition at line 10 of file PlayerChangedWorldEvent.java.

Member Function Documentation

World org.bukkit.event.player.PlayerChangedWorldEvent.getFrom ( )

Gets the world the player is switching from.

Returns
player's previous world

Definition at line 24 of file PlayerChangedWorldEvent.java.

24  {
25  return from;
26  }

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