Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.entity.EntityUnleashEvent Class Reference
Inheritance diagram for org.bukkit.event.entity.EntityUnleashEvent:
org.bukkit.event.entity.EntityEvent org.bukkit.event.Event org.bukkit.event.player.PlayerUnleashEntityEvent

Classes

enum  UnleashReason
 

Public Member Functions

 EntityUnleashEvent (Entity entity, UnleashReason reason)
 
UnleashReason getReason ()
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.entity.EntityEvent
 EntityEvent (final Entity what)
 
Entity getEntity ()
 
EntityType getEntityType ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Static Public Member Functions

static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.entity.EntityEvent
Entity entity
 

Detailed Description

Called immediately prior to an entity being unleashed.

Definition at line 9 of file EntityUnleashEvent.java.

Member Function Documentation

UnleashReason org.bukkit.event.entity.EntityUnleashEvent.getReason ( )

Returns the reason for the unleashing.

Returns
The reason

Definition at line 23 of file EntityUnleashEvent.java.

23  {
24  return reason;
25  }

The documentation for this class was generated from the following file: