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