is it possible for me to get the key that is set in the minecraft of who is using the mod?
I would like to create something when the player jumps but if I use the space key and the player changes in its configuration the jump key to "N" for example will not work. so I'd like to check which key is set, it's possible?
Basically you can handle the KeyInputEvent and compare against the "key bindings" (i.e. the user settings for which key does which function). In my tutorial it explains how to make a new keybinding but you don't need that, you can just use the existing one for the jumping. But you should still handle the event.
The GameSettings class has instances of KeyBinding for all the default keys. So you just need to handle the KeyInputEvent and check for GameSettings.keyBindJump.isPressed().
is it possible for me to get the key that is set in the minecraft of who is using the mod?
I would like to create something when the player jumps but if I use the space key and the player changes in its configuration the jump key to "N" for example will not work. so I'd like to check which key is set, it's possible?
I have a tutorial here: http://jabelarminecraft.blogspot.com/p/minecraft-forge-1721710-keybinding.html
Basically you can handle the KeyInputEvent and compare against the "key bindings" (i.e. the user settings for which key does which function). In my tutorial it explains how to make a new keybinding but you don't need that, you can just use the existing one for the jumping. But you should still handle the event.
but how do I get the key bind to jump
The GameSettings class has instances of KeyBinding for all the default keys. So you just need to handle the KeyInputEvent and check for GameSettings.keyBindJump.isPressed().