Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. if(zPressed) {
  2. System.out.println(zPressed);
  3. float originalYaw = mc.thePlayer.rotationYaw;
  4. if(rotationTicks < (2 * Math.PI)) {
  5. rotationTicks += rotationTime * (2 * Math.PI) / 20;
  6. mc.thePlayer.rotationYaw = originalYaw + rotationTicks;
  7. } else if(rotationTicks >= (2 * Math.PI)) {
  8. zPressed = false;
  9. rotationTicks = 0;
  10. System.out.println(zPressed);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement