public static BlockPosition of(Block block) {
        Objects.requireNonNull(block, "block");
        return of(block.getLocation());
    }
An immutable and serializable block location object
helper/src/main/java/me/lucko/helper/serialize/BlockPosition.java