Skip to content

InstantEffect ​

abstract class · pocketmine\entity\effect\InstantEffect · source

Extends Effect

Methods ​

__construct() ​

php
public function __construct(\pocketmine\lang\Translatable|string $name, \pocketmine\color\Color $color, bool $bad = false, bool $hasBubbles = true)

getApplyInterval() ​

php
public function getApplyInterval(\pocketmine\entity\effect\EffectInstance $instance) : int

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