WitherSkeleton 5.46.0
Extends Monster
Implements Undead
Bedrock values (wither_skeleton.json): 20 health, movement 0.25 (attacks at 1.25x), 0.72x2.01 (scale 1.2), attack 4 with 10 seconds of Wither, stone sword, fire immune, doesn't burn in daylight. Attacks players and piglins. Loot: 0-1 coal, 0-2 bones (+0-1 each per Looting level), 2.5% (+2% per Looting level) wither skeleton skull when killed by a player.
Constants
ATTACK_DAMAGE
php
public const ATTACK_DAMAGE = 4.0WITHER_TICKS
php
public const WITHER_TICKS = 200Methods
attackMelee()
php
public function attackMelee(\pocketmine\entity\Living $target, float $baseDamage) : boolcanBreathe()
php
public function canBreathe() : boolgetDrops()
php
public function getDrops() : arraygetInitialSizeInfo() protected
php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfogetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringgetPickedItem()
php
public function getPickedItem() : ?\pocketmine\item\ItemgetXpDropAmount()
php
public function getXpDropAmount() : intinitEntity() protected
php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : voidisFireProof()
php
public function isFireProof() : boolregisterGoals() protected
php
protected function registerGoals() : voidsaveNBT()
php
public function saveNBT() : \pocketmine\nbt\tag\CompoundTag