Class EntityTeleportEndGatewayEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityTeleportEvent
com.destroystokyo.paper.event.entity.EntityTeleportEndGatewayEvent
- All Implemented Interfaces:
Cancellable
Fired any time an entity attempts to teleport in an end gateway
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
ConstructorDescriptionEntityTeleportEndGatewayEvent
(Entity entity, Location from, Location to, EndGateway gateway) -
Method Summary
Methods inherited from class org.bukkit.event.entity.EntityTeleportEvent
getFrom, getHandlerList, getHandlers, getTo, isCancelled, setCancelled, setFrom, setTo
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityTeleportEndGatewayEvent
@Internal public EntityTeleportEndGatewayEvent(Entity entity, Location from, Location to, EndGateway gateway)
-
-
Method Details
-
getGateway
The gateway triggering the teleport- Returns:
- EndGateway used
-