Cancellable
public class EntityTeleportEndGatewayEvent extends EntityTeleportEvent
Event.Result
entity
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, getEntityType
getFrom, getHandlerList, getHandlers, getTo, isCancelled, setCancelled, setFrom, setTo
callEvent, getEventName, isAsynchronous
public 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.