public class PlayerChangedWorldEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerChangedWorldEvent(@NotNull Player player,
@NotNull World from) |
Modifier and Type | Method and Description |
---|---|
@NotNull World |
getFrom()
Gets the world the player is switching from.
|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
getPlayer
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull World getFrom()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.