public class EntityPortalEvent extends EntityTeleportEvent
For players see PlayerPortalEvent
Event.Result
entity
Constructor and Description |
---|
EntityPortalEvent(Entity entity,
Location from,
Location to) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getFrom, getTo, isCancelled, setCancelled, setFrom, setTo
getEntity, getEntityType
callEvent, getEventName, isAsynchronous
@NotNull public HandlerList getHandlers()
getHandlers
in class EntityTeleportEvent
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.