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