case "AAC4":
if (mc.thePlayer.hurtTime == 0 || !velocity) {
velocity && (velocity = false);
return;
} if (mc.thePlayer.onGround) {
mc.thePlayer.hurtTime <= 6 && (mc.thePlayer.motionX *= 0.6, mc.thePlayer.motionZ *= 0.6);
mc.thePlayer.hurtTime <= 4 && (mc.thePlayer.motionX *= 0.6, mc.thePlayer.motionZ *= 0.6);
} else if (mc.thePlayer.hurtTime <= 9) {
mc.thePlayer.motionX *= 0.600001;
mc.thePlayer.motionZ *= 0.600001;
}
break;
case "Matrix":
if (mc.thePlayer.hurtTime == 0 || !velocity) {
velocity && (velocity = false);
return;
} if (mc.thePlayer.onGround) {
mc.thePlayer.hurtTime <= 6 && (mc.thePlayer.motionX *= 0.700054132, mc.thePlayer.motionZ *= 0.700054132);
mc.thePlayer.hurtTime <= 5 && (mc.thePlayer.motionX *= 0.803150645, mc.thePlayer.motionZ *= 0.803150645);
} else if (mc.thePlayer.hurtTime <= 10) {
mc.thePlayer.motionX *= 0.605001;
mc.thePlayer.motionZ *= 0.605001;
}
break;
case "Jump":
if (mc.thePlayer.onGround && mc.thePlayer.hurtTime > 0 && velocity) {
velocity = false;
mc.thePlayer.motionY = 0.42 + (mc.thePlayer.isPotionActive(Potion.jump) ? (mc.thePlayer.getActivePotionEffect(Potion.jump).getAmplifier() + 1) * 0.1 : 0);
mc.thePlayer.motionX -= Math.sin((var0 = mc.thePlayer.rotationYaw * 0.017453292)) * 0.2;
mc.thePlayer.motionZ += Math.cos(var0) * 0.2;
} else if (mc.thePlayer.hurtTime == 0 && velocity) {
velocity = false;
}
break;