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