public class PlayerTeleportEndGatewayEvent extends PlayerTeleportEvent
PlayerTeleportEvent.TeleportCause
Event.Result
player
Constructor and Description |
---|
PlayerTeleportEndGatewayEvent(@NotNull Player player,
@NotNull Location from,
@NotNull Location to,
@NotNull EndGateway gateway) |
Modifier and Type | Method and Description |
---|---|
@NotNull EndGateway |
getGateway()
The gateway triggering the teleport
|
getCause, getHandlerList, getHandlers
getFrom, getTo, hasChangedBlock, hasChangedOrientation, hasChangedPosition, hasExplicitlyChangedBlock, hasExplicitlyChangedPosition, isCancelled, setCancelled, setFrom, setTo
getPlayer
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull EndGateway getGateway()
Copyright © 2021. All rights reserved.