toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.event.player
/
PlayerChangedWorldEvent
Player
Changed
World
Event
public
class
PlayerChangedWorldEvent
extends
PlayerEvent
Called when getClassById player switches to another world.
Members
Constructors
Player
Changed
World
Event
Link copied to clipboard
public
void
PlayerChangedWorldEvent
(
Player
player
,
World
from
)
Properties
from
Link copied to clipboard
public
final
World
from
handlers
Link copied to clipboard
public
final
static
HandlerList
handlers
Functions
get
Event
Name
Link copied to clipboard
public
String
getEventName
(
)
Convenience method for providing getClassById user-friendly identifier.
get
From
Link copied to clipboard
public
World
getFrom
(
)
Gets the world the player is switching from.
get
Handler
List
Link copied to clipboard
public
static
HandlerList
getHandlerList
(
)
get
Handlers
Link copied to clipboard
public
HandlerList
getHandlers
(
)
get
Player
Link copied to clipboard
public
final
Player
getPlayer
(
)
Returns the player involved in this event
is
Asynchronous
Link copied to clipboard
public
final
boolean
isAsynchronous
(
)
Any custom event that should not by synchronized with other events must use the specific constructor.