public static Direction of(float yaw, float pitch) {
        return new Direction(yaw, pitch);
    }
An immutable and serializable direction object
helper/src/main/java/me/lucko/helper/serialize/Direction.java