Cancellable
public class PlayerTeleportEndGatewayEvent extends PlayerTeleportEvent
Event.Result
PlayerTeleportEvent.TeleportCause
player
Constructor | Description |
---|---|
PlayerTeleportEndGatewayEvent(@NotNull Player player,
@NotNull Location from,
@NotNull Location to,
@NotNull EndGateway gateway) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull EndGateway |
getGateway() |
The gateway triggering the teleport
|
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
getFrom, getTo, isCancelled, setCancelled, setFrom, setTo
getCause, getHandlerList, getHandlers
public PlayerTeleportEndGatewayEvent(@NotNull @NotNull Player player, @NotNull @NotNull Location from, @NotNull @NotNull Location to, @NotNull @NotNull EndGateway gateway)
@NotNull public @NotNull EndGateway getGateway()
Copyright © 2020. All rights reserved.