Skip to content

EvokerWololoGoal 5.46.0 ​

class · pocketmine\entity\ai\hostile\goal\EvokerWololoGoal · source

Extends Goal

The evoker's "wololo" spell (vanilla behavior.send_event of evocation_illager.json): when it has no target, the evoker picks a blue sheep within 16 blocks, casts for 3 seconds (orange particles, #FFB38033) and after 2 seconds turns the sheep red (prepare.wololo sound). 5 seconds of cooldown after each cast. Like every mob griefing behaviour here there is no mobGriefing game rule to turn it off.

Constants ​

CAST_TICKS ​

php
public const CAST_TICKS = 60

COOLDOWN_TICKS ​

php
public const COOLDOWN_TICKS = 100

EVENT_DELAY_TICKS ​

php
public const EVENT_DELAY_TICKS = 40

RANGE ​

php
public const RANGE = 16.0

SPELL_WOLOLO ​

php
public const SPELL_WOLOLO = 2

Properties ​

$evoker ​

php
public \pocketmine\entity\monster\Evoker $evoker

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\monster\Evoker $evoker)

canContinue() ​

php
public function canContinue() : bool

canStart() ​

php
public function canStart() : bool

getFlags() ​

php
public function getFlags() : int

start() ​

php
public function start() : void

stop() ​

php
public function stop() : void

tick() ​

php
public function tick() : void

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