PHP Class pocketmine\event\entity\EntityDeathEvent

Inheritance: extends EntityEvent
Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Living $entity, array $drops = [] )
getDrops ( ) : Item[]
getEntity ( ) : Living
setDrops ( array $drops )

Method Details

__construct() public method

public __construct ( Living $entity, array $drops = [] )
$entity pocketmine\entity\Living
$drops array

getDrops() public method

public getDrops ( ) : Item[]
return pocketmine\item\Item[]

getEntity() public method

public getEntity ( ) : Living
return pocketmine\entity\Living

setDrops() public method

public setDrops ( array $drops )
$drops array

Property Details

$handlerList public static property

public static $handlerList