Does anyone know how I can world gen (replace) the entire miencraft world's grass block with green w

I'm trying to make a "Wool World". E.g. the water is blue wool, logs are brown wool, stone is gray wool etc. I'm new to datapacks. Thanks in advance!

Continue to help post