In my mod, I need to be able to tell when the player presses the "Jump" key, even if the player is not on the ground (so no workaround using onGround Boolean) and when using the "Attack/Destroy" button. I want the KeyBinding object, not some workaround, and I do not want to create my own KeyBinding object set to the same configuration. Any help is appreciated!
I found out that if you put the .ogg file in the /assets/records/your.ogg outside of your mod files, it works. It would be like putting it in .minecraft/assets/records, when instead you need to get it in Yourmod.zip/assets/records/. I hope this helps.