We will now look at the setBlocks command which allow the creation of a volume of blocks between two coordinates
First well draw a 10 blocks line
And here is what you should get :
10 blocks line of Wood Plank via setBlocks
We can create a surface the same way
And here is what you should get :
10x5 blocks surface of Wood Plank via setBlocks
And modifying y as well we’ll get a 3 dimension volume
And here is what you should get :
10x5x4 blocks volume of Wood Plank via setBlocks
To “delete” a block you just have to fill it with air (0)
So we can create a volume with a “tunnel” inside this way :
And here is what you should get :
10x10x8 blocks volume of cobblestone with 2x2x10 tunnel (of air) via setBlocks