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