Skip to content

AreaEffectCloudApplyEvent ​

class · pocketmine\event\entity\AreaEffectCloudApplyEvent · source

Extends EntityEvent
Implements Cancellable

Called when an area effect cloud applies effects to entities.

Properties ​

$affectedEntities ​

php
public array $affectedEntities

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\object\AreaEffectCloud $entity, array $affectedEntities)

getAffectedEntities() ​

php
public function getAffectedEntities() : array

Returns the affected entities.

getEntity() ​

php
public function getEntity()

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.