mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
mobs will follow player if the player has food(no pathfinder), autojump tweaks
This commit is contained in:
parent
1aef739065
commit
616c933d3d
2 changed files with 8 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue