PHP Class pocketmine\event\entity\EntityExplodeEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: ClearSkyTeam/ClearSky Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Protected Properties

Свойство Type Description
$blocks pocketmine\block\Block[]
$position pocketmine\level\Position
$yield float

Méthodes publiques

Méthode 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 méthode

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

getBlockList() public méthode

public getBlockList ( ) : Block[]
Résultat pocketmine\block\Block[]

getPosition() public méthode

public getPosition ( ) : Position
Résultat pocketmine\level\Position

getYield() public méthode

public getYield ( ) : float
Résultat float

setBlockList() public méthode

public setBlockList ( array $blocks )
$blocks array

setYield() public méthode

public setYield ( float $yield )
$yield float

Property Details

$blocks protected_oe property

protected Block[],pocketmine\block $blocks
Résultat pocketmine\block\Block[]

$handlerList public_oe static_oe property

public static $handlerList

$position protected_oe property

protected Position,pocketmine\level $position
Résultat pocketmine\level\Position

$yield protected_oe property

protected float $yield
Résultat float