Skip to content

EvokerFangs 5.46.0 ​

class · pocketmine\entity\object\EvokerFangs · source

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 = 4

DAMAGE ​

php
public const DAMAGE = 6.0

LIFETIME_TICKS ​

php
public const LIFETIME_TICKS = 22

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Location $location, ?\pocketmine\entity\Entity $owner)

attack() ​

php
public function attack(\pocketmine\event\entity\EntityDamageEvent $source) : void

canBeCollidedWith() ​

php
public function canBeCollidedWith() : bool

entityBaseTick() protected ​

php
protected function entityBaseTick(int $tickDiff = 1) : bool

getInitialDragMultiplier() protected ​

php
protected function getInitialDragMultiplier() : float

getInitialGravity() protected ​

php
protected function getInitialGravity() : float

getInitialSizeInfo() protected ​

php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfo

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

hasBitten() ​

php
public function hasBitten() : bool

hasMovementUpdate() ​

php
public function hasMovementUpdate() : bool

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