I'm developing a a mod that needs to speed up the timer in Minecraft. I've seen other people do this by using mc.timer, but when I try to do this, I get the error:
The field Minecraft.timer is not visible
Is there anyway to make this field visible?
Set passEvents to true in the screen constructor.
This has nothing to do with the key bindings vs KeyboardKeyEvent. I suspect this has to do with how key repeats are handled by some screens (see KeyboardHandler#setSendRepeatsToGui).