It will work after Plantera is defeated, even allowing the player to enter a locked Jungle Temple without using up a Temple Key. For instance, while riding the Unicorn Mount, the location must be 5 tiles high. Unsuccessful teleports play the same sound, but do not inflict the debuff. Thus, in order to teleport into a 3-tile-high opening, the player must aim at the floor.
Pressing the ⚒ Use / Attack button will always place the player's feet at the cursor position. The target location must be at least 3 tiles high and 2 tiles wide.