public class EntityPortalEnterEvent extends EntityEvent
Event.Result
entity
Constructor and Description |
---|
EntityPortalEnterEvent(Entity entity,
Location location) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Location |
getLocation()
Gets the portal block the entity is touching
|
getEntity, getEntityType
callEvent, getEventName, isAsynchronous
@NotNull public Location getLocation()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.