mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
ported 1.5.2 way of mob movement but broke everything else
This commit is contained in:
parent
8684e3092a
commit
5161d087ba
5 changed files with 169 additions and 93 deletions
|
|
@ -11,10 +11,10 @@ abstract class Creature extends Living{
|
|||
$this->setHealth(isset($this->data["Health"]) ? $this->data["Health"] : 1, "generic");
|
||||
$this->enableAutojump = true;
|
||||
//$this->setName((isset($mobs[$this->type]) ? $mobs[$this->type]:$this->type));
|
||||
$this->ai->addTask(new TaskLookAround());
|
||||
$this->ai->addTask(new TaskRandomWalk());
|
||||
$this->ai->addTask(new TaskLookAtPlayer());
|
||||
$this->ai->addTask(new TaskSwimming());
|
||||
//$this->ai->addTask(new TaskLookAround());
|
||||
//$this->ai->addTask(new TaskRandomWalk());
|
||||
//$this->ai->addTask(new TaskLookAtPlayer());
|
||||
//$this->ai->addTask(new TaskSwimming());
|
||||
}
|
||||
|
||||
public function createSaveData(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue