PlayerUnleashEntityEventpublic class EntityUnleashEvent extends EntityEvent
| Modifier and Type | Class | Description |
|---|---|---|
static class |
EntityUnleashEvent.UnleashReason |
Event.Resultentity| Constructor | Description |
|---|---|
EntityUnleashEvent(@NotNull Entity entity,
@NotNull EntityUnleashEvent.UnleashReason reason) |
| Modifier and Type | Method | Description |
|---|---|---|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
|
@NotNull EntityUnleashEvent.UnleashReason |
getReason() |
Returns the reason for the unleashing.
|
getEntity, getEntityTypegetEventName, isAsynchronouspublic EntityUnleashEvent(@NotNull
@NotNull Entity entity,
@NotNull
@NotNull EntityUnleashEvent.UnleashReason reason)
@NotNull public @NotNull EntityUnleashEvent.UnleashReason getReason()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.