Closed Blackjack200 closed 3 years ago
protected void jump() { this.motionY = (double)this.getJumpUpwardsMotion(); if(this.isPotionActive(Potion.jump)) { this.motionY += (double)((float)(this.getActivePotionEffect(Potion.jump).getAmplifier() + 1) * 0.1F); } if(this.isSprinting()) { float f = this.rotationYaw * 0.017453292F; this.motionX -= (double)(MathHelper.sin(f) * 0.2F); this.motionZ += (double)(MathHelper.cos(f) * 0.2F); } this.isAirBorne = true; }
really wrong for prediction
really wrong for prediction