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