Terraria item ID 2351. Terraria 1.4.5.7.
The Teleportation Potion is a potion that teleports the user to a random location. In addition to being crafted, it can be found in Chests located in the Cavern layer and in Shadow Chests. In choosing a destination, the following rules apply:Verify The player will always be placed on top of a solid block and never inside blocks. The player can never be placed in front of a natural, below-surface Dungeon wall before Skeletron has been defeated. The player can never be placed in front of a natural, below-surface Lihzahrd Brick Wall (i.e., in the Jungle Temple) before Plantera has been defeated.
Crafted at Placed Bottle / Alchemy Table. Ingredients:
Description from the Terraria Wiki.