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.