I'm working on a mod for Minecraft in Java. How can I make something happen every half tick? If I run my code in the tick
function, my code is called 20 times a second. I want my code to be called 40 times a second, or even 60 or 80. How would I do this?
Any answer, whether in Forge, MCP, or even plain Java would help.
EDIT: I'm still keeping this question up, but the rest of the game only ticks at 20. Doing 1 task at 60 wont make a difference if everything else ticks at 20.
clickMouse()
\$\endgroup\$