Skip to content

WindChargedEffect 5.46.0 ​

class · pocketmine\entity\effect\WindChargedEffect · source

Extends Effect

Wind Charged (https://minecraft.wiki/w/Wind_Charged): the entity bursts like a wind charge when it dies, pushing the entities around it away. Radius 3-4 and knockback 1.22 are the values of Java's WindChargedMobEffect (the burst of a wind charge explosion), centred halfway up the dead entity.

Constants ​

KNOCKBACK_MULTIPLIER ​

php
public const KNOCKBACK_MULTIPLIER = 1.22

Methods ​

onEntityDeath() ​

php
public function onEntityDeath(\pocketmine\entity\Living $entity, \pocketmine\entity\effect\EffectInstance $instance) : void

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