PlayerUnleashEntityEvent
public class EntityUnleashEvent extends EntityEvent
Modifier and Type | Class | Description |
---|---|---|
static class |
EntityUnleashEvent.UnleashReason |
Event.Result
entity
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, getEntityType
getEventName, isAsynchronous
public EntityUnleashEvent(Entity entity, EntityUnleashEvent.UnleashReason reason)
public EntityUnleashEvent.UnleashReason getReason()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.