Skip to content

EyeOfEnderSignal 5.46.0 ​

class · pocketmine\entity\object\EyeOfEnderSignal · source

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

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Location $location, \pocketmine\math\Vector3 $stronghold)

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

getTarget() ​

php
public function getTarget() : \pocketmine\math\Vector3

hasMovementUpdate() ​

php
public function hasMovementUpdate() : bool

move() protected ​

php
protected function move(float $dx, float $dy, float $dz) : void

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