This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am trying to detect if a player pressed the jump key but I can't find anything about it online. Could anyone show me example code what this would look like.
You first have to have a key handler.
In the handler check Keyboard.isKeyDown(Minecraft.getMinecraft().gameSettings.keyBindJump.getKeyCode())
Not doing mc modding that much anymore because I am making a full blown game that does not have limitations that mc has. (rip Magiology for now)
I may come back if MC fixes it's rendering pipeline.
I am trying to detect if a player pressed the jump key but I can't find anything about it online. Could anyone show me example code what this would look like.
You first have to have a key handler.
In the handler check Keyboard.isKeyDown(Minecraft.getMinecraft().gameSettings.keyBindJump.getKeyCode())
Not doing mc modding that much anymore because I am making a full blown game that does not have limitations that mc has. (rip Magiology for now)
I may come back if MC fixes it's rendering pipeline.