mobs will follow player if the player has food(no pathfinder), autojump tweaks

This commit is contained in:
GameHerobrine 2023-01-22 23:23:31 +03:00
parent 1aef739065
commit 616c933d3d
2 changed files with 8 additions and 6 deletions

View file

@ -21,7 +21,9 @@ class TaskTempt extends TaskBase
$this->reset();
return;
}
//TODO following
$ai->mobController->moveTo($this->target->x, floor($ai->entity->y), $this->target->z);
$ai->mobController->lookOn($this->target);
}