Translations:Vertical Movement Formulas/24/en

From Minecraft Parkour Wiki

if (this.onGround && this.jumpTicks == 0)

       {
           this.jump();
           this.jumpTicks = 10; //activate autojump cooldown (0.5s)
       }
   }
       
   else
   {
       this.jumpTicks = 0; //reset autojump cooldown
   }