MountPathingGoal 5.46.0
Extends Goal
A ridden mob walks towards the attack target of its rider (vanilla behavior.mount_pathing, "track_target"): the spider of a spider jockey, the chicken of a chicken jockey...
Properties
$mob
php
public \pocketmine\entity\Mob $mob$speedMultiplier
php
public float $speedMultiplierMethods
__construct()
php
public function __construct(\pocketmine\entity\Mob $mob, float $speedMultiplier = 1.25)canStart()
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