TippedArrowSkeleton 5.46.0
Extends Skeleton
A skeleton variant shooting tipped arrows (stray, bogged, parched). The arrow's potion is the shooter "aux_val" of the Bedrock entity minus one; its effect lasts 1/8 of the potion's duration.
Methods
canBreathe()
php
public function canBreathe() : boolgetArrowPotion() protected
php
abstract protected function getArrowPotion() : \pocketmine\item\PotionTypePotion of the arrows shot.
getAttackIntervals() protected
php
protected function getAttackIntervals() : arrayTicks between two shots (normal, hard).
getDropPotion() protected
php
abstract protected function getDropPotion() : \pocketmine\item\PotionTypePotion of the tipped arrows dropped when killed by a player.
getDrops()
php
public function getDrops() : arraygetMaxTippedArrowDrops() protected
php
protected function getMaxTippedArrowDrops() : intregisterGoals() protected
php
protected function registerGoals() : voidshootArrow()
php
public function shootArrow(\pocketmine\entity\Living $target, float $distance) : void