You can do this, just make something which has room for multiple slots of tnt, and adjust the amount for the range. For direction, it's a bit trickier, but you can have multiple openings to the cannon, plug the ones not in use, etc.
I think the underwater tunnel concept is pretty cool but I never gave it a try until this post reminded me about it. After spending too much time dropping sand and picking it up again, I think I came up with a decent method to make underwater walkways in the least amount of time.
So, find a way down to the level you want to work at and make one tiny section of your walkway. You can use sand or dig some nice stairs since you'll probably want to start above the water level. When you have your first section, place two doors and then block off the top two blocks:
The water won't flow through the doors, so you can peek out to the other side and place two ground blocks, then build around with glass and duck back into the doors for a breath. I generally do this for four blocks at a time before placing another set of doors. Here's an artificially brightened shot of a half-built section of tunnel. You can see the doors and the air behind them, and two slices of tunnel with floor and glass placed already.
After you finish a section and place your new doors, removing the water blocks from this section with sand is easy as it's only 4x3x2 and you only have to place two sand blocks per column (n-1 of the walkway height) to clear out all the water. At this point, you can remove the old double doors (and glass padding on top) behind you and repeat from the set in front of you.
And the best part about this method? No currents if you make your top glass layer at least 1 block below the surface!
To conclude; build using this method for the following benefits:
- build straight, corners, crosses, etc
- only four doors needed
- deal minimally with swimming or fighting currents
- don't having to place a million sand blocks and clean them up later
- no bucketing around with current clean-up
Best Answer
I would recommend a delay of 39 redstone ticks (3.9 seconds), meaning nine four-tick repeaters and one three-tick repeater. The reasoning is that TNT explodes in 4 seconds:
Those 39 redstone ticks activate the projectile just in time, giving the longest possible time between being launched and exploding.