Skip to content

WitherSkeleton 5.46.0 ​

class · pocketmine\entity\monster\WitherSkeleton · source

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.0

WITHER_TICKS ​

php
public const WITHER_TICKS = 200

Methods ​

attackMelee() ​

php
public function attackMelee(\pocketmine\entity\Living $target, float $baseDamage) : bool

canBreathe() ​

php
public function canBreathe() : bool

getDrops() ​

php
public function getDrops() : array

getInitialSizeInfo() protected ​

php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfo

getName() ​

php
public function getName() : string

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

getPickedItem() ​

php
public function getPickedItem() : ?\pocketmine\item\Item

getXpDropAmount() ​

php
public function getXpDropAmount() : int

initEntity() protected ​

php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : void

isFireProof() ​

php
public function isFireProof() : bool

registerGoals() protected ​

php
protected function registerGoals() : void

saveNBT() ​

php
public function saveNBT() : \pocketmine\nbt\tag\CompoundTag

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