PHP Class pocketmine\event\entity\EntityDamageByBlockEvent

Inheritance: extends EntityDamageEvent
Mostra file Open project: ClearSkyTeam/ClearSky

Public Methods

Method Description
__construct ( Block $damager, Entity $entity, integer $cause, integer | int[] $damage )
getDamager ( ) : Block

Method Details

__construct() public method

public __construct ( Block $damager, Entity $entity, integer $cause, integer | int[] $damage )
$damager pocketmine\block\Block
$entity pocketmine\entity\Entity
$cause integer
$damage integer | int[]

getDamager() public method

public getDamager ( ) : Block
return pocketmine\block\Block