PHP Class pocketmine\event\entity\ExplosionPrimeEvent

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

Méthodes publiques

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( Entity $entity, float $force, boolean $dropItem )
dropItem ( ) : boolean
getForce ( ) : float
isBlockBreaking ( ) : boolean
setBlockBreaking ( boolean $affectsBlocks )
setDropItem ( boolean $dropItem )
setForce ( $force )

Method Details

__construct() public méthode

public __construct ( Entity $entity, float $force, boolean $dropItem )
$entity pocketmine\entity\Entity
$force float
$dropItem boolean

dropItem() public méthode

public dropItem ( ) : boolean
Résultat boolean

getForce() public méthode

public getForce ( ) : float
Résultat float

isBlockBreaking() public méthode

public isBlockBreaking ( ) : boolean
Résultat boolean

setBlockBreaking() public méthode

public setBlockBreaking ( boolean $affectsBlocks )
$affectsBlocks boolean

setDropItem() public méthode

public setDropItem ( boolean $dropItem )
$dropItem boolean

setForce() public méthode

public setForce ( $force )

Property Details

$force protected_oe property

protected $force

$handlerList public_oe static_oe property

public static $handlerList