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