Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. NoDown Version:
  2. if (mc.thePlayer.onGround)mc.thePlayer.fallDistance = 0.1f;
  3. if (mc.thePlayer.fallDistance > 0) {
  4. mc.thePlayer.motionY = mc.gameSettings.keyBindJump.pressed ? 0.06 : 0.0405;
  5. mc.thePlayer.fallDistance = 0;
  6. }
  7. Other:
  8. if (mc.thePlayer.onGround)mc.thePlayer.fallDistance = 0.1f;
  9. if (mc.thePlayer.fallDistance > 0) {
  10. mc.thePlayer.motionY = 0.1;
  11. mc.thePlayer.fallDistance = 0.0f;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement