@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof Region)) return false;
        final Region other = (Region) o;
        return this.getMin().equals(other.getMin()) && this.getMax().equals(other.getMax());
    }
An immutable and serializable region object
helper/src/main/java/me/lucko/helper/serialize/Region.java