Portal Gun 2.0 Command Block 1.9 Mod
Credits: TheRedEngineer
Second version of the portal gun in vanilla minecraft using only one command block. It now supports infinite portals and teleports any type of entity.
How to install:
To add any one-command creation to your world, first give yourself a command block with/give @p minecraft:command_block.
You have to place 3 command blocks on top of each other and paste the 1st command in the bottom one, the 2nd command in the middle one and the 3rd command in the upper one.
Once you pasted all the commands, you have to activate with a redstone block just the command block at the bottom