Once you have your stack setup, you might want to have it loop (in some cases), and that is extremely simple!
aether:the_aether*-1!256?
minecraft:overworld*-65!320?
minecraft:the_end*-1!256?
aether:the_aether*-1!256$
In this case, once you dig down you’ll arrive in the end. On the end, you can jump off arriving at the aether, and jump off arriving at the overworld looping back down to the end infinitely.
Our goal:
All you do is add a placeholder in-between, and they're officially separated
aether:the_aether*-1!256?
minecraft:overworld*-65!320?
placeholder*!?
minecraft:the_end*-1!256?
twilightforest:twilight_forest*-33!256$
This allows for traveling between the aether and overworld, but not the overworld and end.