public class EntityTeleportEndGatewayEvent extends EntityTeleportEvent
Event.Result
entity
Constructor and Description |
---|
EntityTeleportEndGatewayEvent(Entity what,
Location from,
Location to,
EndGateway gateway) |
Modifier and Type | Method and Description |
---|---|
EndGateway |
getGateway()
The gateway triggering the teleport
|
getFrom, getHandlerList, getHandlers, getTo, isCancelled, setCancelled, setFrom, setTo
getEntity, getEntityType
callEvent, getEventName, isAsynchronous
public EntityTeleportEndGatewayEvent(Entity what, Location from, Location to, EndGateway gateway)
public EndGateway getGateway()
Copyright © 2021. All rights reserved.