22declare(strict_types=1);
24namespace pocketmine\entity\effect;
37 if(!($entity instanceof
Player)){
43 $entity->setHasGravity(false);
47 $entity->setHasGravity();
addMotion(float $x, float $y, float $z)
add(Living $entity, EffectInstance $instance)
applyEffect(Living $entity, EffectInstance $instance, float $potency=1.0, ?Entity $source=null)
canTick(EffectInstance $instance)