So I'm looking for some help and I want to share my code with the speed hack I'm working on right now for minecraft. I was wondering if there is any way to make the speed someone what manageable. No matter what I decrease my motionY by, it seems as if the speed will exponentially increase making it almost impossible to handle. Also what in nocheat plus makes it so it's able to detect this?
Code:
public class Speed extends Hack {
public Speed() { super("Speed", Keyboard.KEY_V, ModCategories.MOVEMENT); }
public void onUpdate() { if (mc.player.onGround) { mc.player.jump(); } else { mc.player.motionY = -0.5; } }
@Override public void onDisable() {
}
@Override public void onEnable() { // TODO Auto-generated method stub
}
@Override public void onRender() { // TODO Auto-generated method stub
}
@Override public void changeVariable(int num) { // TODO Auto-generated method stub