Cancellablepublic class EntityPortalEvent extends EntityTeleportEvent
 For players see PlayerPortalEvent
Event.Resultentity| Constructor | Description | 
|---|---|
EntityPortalEvent(Entity entity,
                 Location from,
                 Location to) | 
| Modifier and Type | Method | Description | 
|---|---|---|
static HandlerList | 
getHandlerList() | 
|
HandlerList | 
getHandlers() | 
getEntity, getEntityTypegetFrom, getTo, isCancelled, setCancelled, setFrom, setTogetEventName, isAsynchronous@NotNull public HandlerList getHandlers()
getHandlers in class EntityTeleportEvent@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.