Skip to content

TippedArrowSkeleton 5.46.0 ​

abstract class · pocketmine\entity\monster\TippedArrowSkeleton · source

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() : bool

getArrowPotion() protected ​

php
abstract protected function getArrowPotion() : \pocketmine\item\PotionType

Potion of the arrows shot.

getAttackIntervals() protected ​

php
protected function getAttackIntervals() : array

Ticks between two shots (normal, hard).

getDropPotion() protected ​

php
abstract protected function getDropPotion() : \pocketmine\item\PotionType

Potion of the tipped arrows dropped when killed by a player.

getDrops() ​

php
public function getDrops() : array

getMaxTippedArrowDrops() protected ​

php
protected function getMaxTippedArrowDrops() : int

registerGoals() protected ​

php
protected function registerGoals() : void

shootArrow() ​

php
public function shootArrow(\pocketmine\entity\Living $target, float $distance) : void

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