Jump to content

how can i fix that if im teleporting im not gonna look north?


Eyalc

Recommended Posts

You can always set the player's yaw and pitch to temporary variables and after the teleport set the player's yaw and pitch to those temporary variables.

  • Like 1

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

        "set {_pitch} to player's pitch
        set {_yaw} to player's yaw
        teleport player to block 2 in front of player
        set player's yaw to {_yaw}
        set player's pitch to {_pitch}"

Edited by Eyalc
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...