target/generated-sources/template/com/flowpowered/math/vector/Vector3d.java
public static Vector3d createRandomDirection(Random random) {
        return createDirectionRad(random.nextDouble() * (double) TrigMath.TWO_PI,
                random.nextDouble() * (double) TrigMath.TWO_PI);
    }
public static Vector3d createRandomDirection(Random random) {
        return createDirectionRad(random.nextDouble() * (double) TrigMath.TWO_PI,
                random.nextDouble() * (double) TrigMath.TWO_PI);
    }
Gets the direction vector of a random pitch and yaw using the random specified.

@param random to use
@return the random direction vector