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
public Location getLocation()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.