public static List<Block> getBlocks(Cuboid cuboid, World world){

        List<Block> blocks = new ArrayList<Block>();

        for(int x = cuboid.getVectorMin().getBlockX(); x <= cuboid.getVectorMax().getBlockX(); x++){
            for(int y = cuboid.getVectorMin().getBlockY(); y <= cuboid.getVectorMax().getBlockY(); y++){
                for(int z = cuboid.getVectorMin().getBlockZ(); z <= cuboid.getVectorMax().getBlockZ(); z++){
                    blocks.add(world.getBlockAt(x, y, z));
                }
            }
        }

        return blocks;
    }