PocketMine
EntityDeathEvent Class Reference
Inheritance diagram for EntityDeathEvent:
EntityEvent Event PlayerDeathEvent

Public Member Functions

 __construct (Living $entity, array $drops=[])
 
 getEntity ()
 
 getDrops ()
 
 setDrops (array $drops)
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from EntityEvent
 $entity
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

__construct ( Living  $entity,
array  $drops = [] 
)
Parameters
Living$entity
Item[]$drops

Member Function Documentation

getDrops ( )
Returns
[]
getEntity ( )
Returns
Living
setDrops ( array  $drops)
Parameters
Item[]$drops

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