@Override
    public String toString() {
        return "Direction(yaw=" + this.getYaw() + ", pitch=" + this.getPitch() + ")";
    }
An immutable and serializable direction object
helper/src/main/java/me/lucko/helper/serialize/Direction.java