Cancellablepublic class EntityTeleportEndGatewayEvent extends EntityTeleportEvent
Event.Resultentity| Constructor | Description |
|---|---|
EntityTeleportEndGatewayEvent(@NotNull Entity what,
@NotNull Location from,
@NotNull Location to,
@NotNull EndGateway gateway) |
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull EndGateway |
getGateway() |
The gateway triggering the teleport
|
getEntity, getEntityTypegetFrom, getHandlerList, getHandlers, getTo, isCancelled, setCancelled, setFrom, setTocallEvent, getEventName, isAsynchronouspublic EntityTeleportEndGatewayEvent(@NotNull
@NotNull Entity what,
@NotNull
@NotNull Location from,
@NotNull
@NotNull Location to,
@NotNull
@NotNull EndGateway gateway)
@NotNull public @NotNull EndGateway getGateway()
Copyright © 2020. All rights reserved.