pocketmine\entity\Zombie::generateRandomDirection PHP Method

generateRandomDirection() private method

    private function generateRandomDirection()
    {
        return new Vector3(mt_rand(-1000, 1000) / 1000, 0, mt_rand(-1000, 1000) / 1000);
    }