Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Step extends Module{
- private boolean didSend;
- private int sendTicks;
- @Override
- public void onDisable() {
- Timer.timerSpeed = 1.0F;
- }
- @EventTarget
- public void onTick(EventPreMotionUpdates event)
- {
- if (((this.mc.thePlayer.motionX != 0.0D) || (this.mc.thePlayer.motionZ != 0.0D)) && (this.mc.thePlayer.isCollidedHorizontally) && (!this.mc.thePlayer.isOnLadder()))
- {
- if (this.mc.thePlayer.onGround)
- {
- this.mc.thePlayer.motionY = 0.3998D;
- Timer.timerSpeed = 2.55F;
- }
- else if (this.mc.thePlayer.motionY <= -0.162D)
- {
- this.mc.thePlayer.motionY = 0.269D;
- Timer.timerSpeed = 1.387F;
- }
- }
- else {
- Timer.timerSpeed = 1.0F;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment