Cancellablepublic class PlayerPortalEvent extends PlayerTeleportEvent
For other entities see EntityPortalEvent
Event.ResultPlayerTeleportEvent.TeleportCauseplayer| Constructor | Description |
|---|---|
PlayerPortalEvent(Player player,
Location from,
Location to) |
|
PlayerPortalEvent(Player player,
Location from,
Location to,
PlayerTeleportEvent.TeleportCause cause) |
| Modifier and Type | Method | Description |
|---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayergetFrom, getTo, isCancelled, setCancelled, setFrom, setTogetCausepublic PlayerPortalEvent(@NotNull
Player player,
@NotNull
Location from,
@Nullable
Location to)
public PlayerPortalEvent(@NotNull
Player player,
@NotNull
Location from,
@Nullable
Location to,
@NotNull
PlayerTeleportEvent.TeleportCause cause)
@NotNull public HandlerList getHandlers()
getHandlers in class PlayerTeleportEvent@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.