public class PlayerChangedWorldEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerChangedWorldEvent(Player player,
World from) |
Modifier and Type | Method | Description |
---|---|---|
World |
getFrom() |
Gets the world the player is switching from.
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
@NotNull public World getFrom()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.