public boolean inRegion(Block block) {
        Objects.requireNonNull(block, "block");
        return block.getWorld().getName().equals(this.min.getWorld()) && inRegion(block.getX(), block.getY(), block.getZ());
    }
An immutable and serializable block region object
helper/src/main/java/me/lucko/helper/serialize/BlockRegion.java