How can I generate an entire world where every block is a lucky block in Minecraft?

This is not possible with the methods of Vanilla or the Lucky blocks mod. Either you need another mod for that or you can run around and replace stone, dirt etc. with lucky blocks using /fill.