I want to teleport towards the camera! 1.16.x

Discussion in 'Plugin Development' started by Kopflos, Mar 19, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    Kopflos

    Hello Bukkit Members!
    I want to make a teleport and in the direction where the player looks, in this direction, he will teleport 12 Block forward.

    I hope you understood that.

    Thank you if you are helping!
     
  2. Offline

    davidclue

    You can find a location of where the player is looking by doing this here and then simply just use:

    Code:
    player.teleport(location);
     
Thread Status:
Not open for further replies.

Share This Page