public class PlayerChangedWorldEvent extends PlayerEvent
Event.Resultplayer| 构造器和说明 |
|---|
PlayerChangedWorldEvent(Player player,
World from) |
| 限定符和类型 | 方法和说明 |
|---|---|
World |
getFrom()
获得玩家切换到目标世界之前所在的世界.
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getPlayergetEventName, isAsynchronouspublic World getFrom()
原文:Gets the world the player is switching from.
public HandlerList getHandlers()
getHandlers 在类中 Eventpublic static HandlerList getHandlerList()