PHP Class pocketmine\event\entity\EntityExplodeEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Exibir arquivo Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$handlerList

Protected Properties

Property Type Description
$blocks pocketmine\block\Block[]
$position pocketmine\level\Position
$yield float

Public Methods

Method Description
__construct ( Entity $entity, Position $position, array $blocks, float $yield )
getBlockList ( ) : Block[]
getPosition ( ) : Position
getYield ( ) : float
setBlockList ( array $blocks )
setYield ( float $yield )

Method Details

__construct() public method

public __construct ( Entity $entity, Position $position, array $blocks, float $yield )
$entity pocketmine\entity\Entity
$position pocketmine\level\Position
$blocks array
$yield float

getBlockList() public method

public getBlockList ( ) : Block[]
return pocketmine\block\Block[]

getPosition() public method

public getPosition ( ) : Position
return pocketmine\level\Position

getYield() public method

public getYield ( ) : float
return float

setBlockList() public method

public setBlockList ( array $blocks )
$blocks array

setYield() public method

public setYield ( float $yield )
$yield float

Property Details

$blocks protected_oe property

protected Block[],pocketmine\block $blocks
return pocketmine\block\Block[]

$handlerList public_oe static_oe property

public static $handlerList

$position protected_oe property

protected Position,pocketmine\level $position
return pocketmine\level\Position

$yield protected_oe property

protected float $yield
return float