Skip to content

Vindicator 5.46.0 ​

class · pocketmine\entity\monster\Vindicator · source

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

Methods ​

getDrops() ​

php
public function getDrops() : array

getName() ​

php
public function getName() : string

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

getPickedItem() ​

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

initEntity() protected ​

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

isJohnny() ​

php
public function isJohnny() : bool

A vindicator named Johnny attacks every mob but illagers.

pickSpawnEquipment() protected ​

php
protected function pickSpawnEquipment() : void

registerGoals() protected ​

php
protected function registerGoals() : void

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