Skeleton 5.46.0
Extends Monster
Bedrock values: 20 health, movement 0.25, shoots an arrow every 3 seconds (2 on hard) within 15 blocks, strafing around its target, burns in daylight. Loot: 0-2 arrows, 0-2 bones, +0-1 each per Looting level.
Constants
ATTACK_RANGE
php
public const ATTACK_RANGE = 15.0Methods
burnsInDaylight()
php
public function burnsInDaylight() : boolgetDrops()
php
public function getDrops() : arraygetInitialSizeInfo() protected
php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfogetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringgetXpDropAmount()
php
public function getXpDropAmount() : intinitEntity() protected
php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : voidregisterGoals() protected
php
protected function registerGoals() : voidsendSpawnPacket() protected
php
protected function sendSpawnPacket(\pocketmine\player\Player $player) : voidshootArrow()
php
public function shootArrow(\pocketmine\entity\Living $target, float $distance) : voidShoots an arrow at the target, aiming slightly above it to compensate for gravity (vanilla).
