EvokerFangs 5.46.0
Extends Entity
Implements NeverSavedWithChunkEntity
Evoker fangs (minecraft:evocation_fang): rise from the ground, bite once (6 magic damage to every living entity touching them except their evoker and illagers) and vanish after 1.1 seconds (vanilla entity_lifespan).
Constants
BITE_TICK
php
public const BITE_TICK = 4DAMAGE
php
public const DAMAGE = 6.0LIFETIME_TICKS
php
public const LIFETIME_TICKS = 22Methods
__construct()
php
public function __construct(\pocketmine\entity\Location $location, ?\pocketmine\entity\Entity $owner)attack()
php
public function attack(\pocketmine\event\entity\EntityDamageEvent $source) : voidcanBeCollidedWith()
php
public function canBeCollidedWith() : boolentityBaseTick() protected
php
protected function entityBaseTick(int $tickDiff = 1) : boolgetInitialDragMultiplier() protected
php
protected function getInitialDragMultiplier() : floatgetInitialGravity() protected
php
protected function getInitialGravity() : floatgetInitialSizeInfo() protected
php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfogetNetworkTypeId()
php
public static function getNetworkTypeId() : stringhasBitten()
php
public function hasBitten() : boolhasMovementUpdate()
php
public function hasMovementUpdate() : bool