Jump to content

How do I get the key of a keybind in Forge? (1.8.9)


Blackvault

Recommended Posts

Hi

I need help to get the key from a keybind for my mod. I'm trying to use

Minecraft.getMinecraft().gamesettings.keyBindAttack().toString():

but it didn't work. It didn't return the key of the keybind. How do I get it?

btw I accidentally typed colon in the code thing but I meant semicolon

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.