Vindicator 5.46.0
Extends Illager
Bedrock values (vindicator.json): 24 health, movement 0.35, iron axe, attack 8, targets players within 12 blocks. A vindicator named "Johnny" attacks every mob except illagers. Loot: 0-1 emerald (+0-1 per Looting level) when killed by a player, and its axe (8.5%).
Constants
ATTACK_DAMAGE
php
public const ATTACK_DAMAGE = 8.0Methods
getDrops()
php
public function getDrops() : arraygetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringgetPickedItem()
php
public function getPickedItem() : ?\pocketmine\item\IteminitEntity() protected
php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : voidisJohnny()
php
public function isJohnny() : boolA vindicator named Johnny attacks every mob but illagers.
pickSpawnEquipment() protected
php
protected function pickSpawnEquipment() : voidregisterGoals() protected
php
protected function registerGoals() : void