mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
randomwalking for all mobs
This commit is contained in:
parent
88cec22404
commit
4689809794
10 changed files with 27 additions and 9 deletions
|
|
@ -5,7 +5,7 @@ class TaskRandomWalk extends TaskBase
|
|||
private $x, $z;
|
||||
public $moveSpeed;
|
||||
public function __construct($moveSpeed){
|
||||
$this->moveSpeed = 0.25;
|
||||
$this->moveSpeed = $moveSpeed;
|
||||
}
|
||||
|
||||
public function onStart(EntityAI $ai)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue