EvokerWololoGoal 5.46.0
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 = 60COOLDOWN_TICKS
php
public const COOLDOWN_TICKS = 100EVENT_DELAY_TICKS
php
public const EVENT_DELAY_TICKS = 40RANGE
php
public const RANGE = 16.0SPELL_WOLOLO
php
public const SPELL_WOLOLO = 2Properties
$evoker
php
public \pocketmine\entity\monster\Evoker $evokerMethods
__construct()
php
public function __construct(\pocketmine\entity\monster\Evoker $evoker)canContinue()
php
public function canContinue() : boolcanStart()
php
public function canStart() : boolgetFlags()
php
public function getFlags() : intstart()
php
public function start() : voidstop()
php
public function stop() : voidtick()
php
public function tick() : void