randomwalking for all mobs

This commit is contained in:
GameHerobrine 2024-01-09 09:26:02 +03:00
parent 88cec22404
commit 4689809794
10 changed files with 27 additions and 9 deletions

View file

@ -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)