PoisonEffect
Extends Effect
Methods
__construct()
php
public function __construct(\pocketmine\lang\Translatable|string $name, \pocketmine\color\Color $color, bool $isBad = false, int $defaultDuration = 600, bool $hasBubbles = true, bool $fatal = false)applyEffect()
php
public function applyEffect(\pocketmine\entity\Living $entity, \pocketmine\entity\effect\EffectInstance $instance, float $potency = 1.0, ?\pocketmine\entity\Entity $source = null) : voidgetApplyInterval()
php
public function getApplyInterval(\pocketmine\entity\effect\EffectInstance $instance) : int