For reasons that are probably not relevant, I want to recreate the Skyblock 2.1 world in 1.17.1 from scratch. Recreating the world was easy but now I have to clear an area from spawn completely by removing blocks all the way down to and including bedrock. The central cleared area in Skyblock is about 1400x1400x140 blocks, which is more than 274m blocks - far too many to do in one go.
I know how to select a region and replace all the blocks in it with air but because the area is quite large, I'm going to have to do this about 100 times so I don't crash my game and that is both going to be a pain but also it will be very easy to miss a bit.
Is there a way of doing this without having to manually enter pos1 and pos2 and run a replace command for 100 different sets of coordinates?