here's what I got
but this whole thing MUST be in onUpdate()
the problem is I want it so everytime I hit someone it starts this tick
private int ticks = 0;
if(ticks % 6 == 0)
{
System.out.println("blah");
}
ticks ++;
That's what I want lol, 50 ms is great.
Could you pass me a base code for that if so?
here's an example
try {
robot = new Robot();
robot.keyPress(KeyEvent.Vk_W);
//Need a 50ms delay here
robot.keyRelease(KeyEvent.Vk_W);
}
} catch (AWTException e) {
e.printStackTrace();
}
I'm using Robot rn to stimulate keyboard input, whenever i'm using robot.delay(ms) it makes my game freeze the amount of "ms" passed in that method, need help!
I really wanted to apply client changes directly from the client, not using mods because it's not even possible, like changing the resolution/gui size locally and just messing overall with the raw forge sourcecode.
I didn't edit any base classes, only modified small lines of code, e.g Main Menu
Still how do I make it as a version and use it using the minecraft launcher profile?
Let's say I have made some changes on the vanilla minecraft using MCP/Eclipse, How do I make it so I can use it in the minecraft launcher and play online?
[NOTE IT'S NOT A HACKED CLIENT, JUST MODIFIED SOME THINGS LIKE THE GUI AND SUCH]