public class EntityPortalEnterEvent extends EntityEvent
Event.Resultentity| 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, getEntityTypegetEventName, isAsynchronous@NotNull public Location getLocation()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.