mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
test movement added
This commit is contained in:
parent
5161d087ba
commit
1ac7179a97
11 changed files with 91 additions and 87 deletions
|
|
@ -9,6 +9,9 @@ class Pig extends Animal implements Rideable{
|
|||
$this->server = ServerAPI::request();
|
||||
$this->setName("Pig");
|
||||
$this->setSpeed(0.25);
|
||||
|
||||
$this->ai->addTask(new TaskRandomWalk(0.25));
|
||||
|
||||
}
|
||||
/**
|
||||
* @return boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue