EffectManager
Extends EffectCollection
Methods
__construct()
php
public function __construct(\pocketmine\entity\Living $entity)add()
php
public function add(\pocketmine\entity\effect\EffectInstance $effect) : boolremove()
php
public function remove(\pocketmine\entity\effect\Effect $effectType) : voidRemoves the effect with the specified ID from the mob.
tick()
php
public function tick(int $tickDiff = 1) : bool