public static Point of(Position position, Direction direction) {
        Objects.requireNonNull(position, "position");
        Objects.requireNonNull(direction, "direction");
        return new Point(position, direction);
    }
An immutable and serializable position + direction object
helper/src/main/java/me/lucko/helper/serialize/Point.java