The enderporter allows players to travel infinite distance within dimensions. For the cost of an Eye of Ender, you can travel between three pairs of 'porters.
The cost to teleport is one Eye of Ender. Right click the middle ender frame with one in hand, and the teleport will begin.
Using a simple redstone circut to change the destination from red to blue and back.