Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Reading the "real" player yaw in a Movement.

mariusdkm opened this issue ยท 0 comments

commented

When in a Movement, how can I get the "real" yaw of the player.
In for ex. in MovementParkour.java how can I get the yaw of the player, that in the end gets send to the server?

ctx.player().rotationYaw only returns the players yaw, that is "on screen".
As well as ctx.player().playerRotations().
ILookBehavior doesn't have a function to get the target rotation.

One could disable freeLook so the rotation is forced, but I still want the freeLook abililty.

Final checklist

  • I know how to properly use check boxes
  • I have not used any OwO's or UwU's in this issue.