public boolean inRegion(ChunkPosition pos) {
        Objects.requireNonNull(pos, "pos");
        return pos.getWorld().equals(this.min.getWorld()) && inRegion(pos.getX(), pos.getZ());
    }
An immutable and serializable chunk region object
helper/src/main/java/me/lucko/helper/serialize/ChunkRegion.java