Skip to content

EntityEffectEvent ​

class · pocketmine\event\entity\EntityEffectEvent · source

Extends EntityEvent
Implements Cancellable

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Entity $entity, \pocketmine\entity\effect\EffectInstance $effect)

getEffect() ​

php
public function getEffect() : \pocketmine\entity\effect\EffectInstance

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