EvokerCastGoal 5.46.0
Extends Goal
The evoker's spells (vanilla behavior.summon_entity of evocation_illager.json):
- fangs: 2 seconds of casting, fangs after 1 second (a double circle around the evoker when the target is within 3 blocks, otherwise a line of 16 towards the target); 5 seconds cooldown;
- vexes: 5 seconds of casting, then 3 vexes (at most 8 within 16 blocks); 17 seconds cooldown.
Constants
FANGS_CAST_TICKS
php
public const FANGS_CAST_TICKS = 40FANGS_COOLDOWN_TICKS
php
public const FANGS_COOLDOWN_TICKS = 100FANGS_DELAY_TICKS
php
public const FANGS_DELAY_TICKS = 20SPELL_FANGS
php
public const SPELL_FANGS = 0SPELL_VEX
php
public const SPELL_VEX = 1VEX_CAST_TICKS
php
public const VEX_CAST_TICKS = 100VEX_COOLDOWN_TICKS
php
public const VEX_COOLDOWN_TICKS = 340VEX_DELAY_TICKS
php
public const VEX_DELAY_TICKS = 100Properties
$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() : intgetSpell()
php
public function getSpell() : intisInterruptible()
php
public function isInterruptible() : boolstart()
php
public function start() : voidstop()
php
public function stop() : voidtick()
php
public function tick() : void