EyeOfEnderSignal 5.46.0
Extends Entity
Implements NeverSavedWithChunkEntity
A thrown eye of ender (vanilla EyeOfEnder): flies towards the stronghold (at most 12 blocks horizontally, rising 8 blocks when it is farther away) for 4 seconds, then drops as an item (80%) or shatters.
Constants
LIFETIME
php
public const LIFETIME = 80Methods
__construct()
php
public function __construct(\pocketmine\entity\Location $location, \pocketmine\math\Vector3 $stronghold)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() : stringgetTarget()
php
public function getTarget() : \pocketmine\math\Vector3hasMovementUpdate()
php
public function hasMovementUpdate() : boolmove() protected
php
protected function move(float $dx, float $dy, float $dz) : void