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