Can't bind Keybind to LAlt and MCreator change locked Code

Started by SparkleArts on

Topic category: Help with modding (Java Edition)

Last seen on 20:20, 18. May 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't bind Keybind to LAlt and MCreator change locked Code

So this problem should definitely be fixed because it just bothers me.

I want to create a button that defaults to LAlt but doesn't work because it's not in the list. Well I thought I'll try editing the code and locked "GLFW.GLFW_KEY_LEFT_CONTROL" to "GLFW.GLFW_KEY_LEFT_ALT" and the mod element. But what do I have to find out? MCreator changes it back to "GLFW.GLFW_KEY_LEFT_CONTROL" WHICH shouldn't actually work because it's locked. Then I then have "GLFW.GLFW_KEY_LEFT_CONTROL" to "InputConstants.KEY_LALT" which has also been changed by MCreator to "GLFW.GLFW_KEY_LEFT_CONTROL" EVEN THOUGH it was locked. Can someone give me a logical explanation for this damn situation??? By the way, I'm in a pretty bad mood because of this situation.

And I'm pretty unsure if it's a bug or intentional. 

I use version 2021.3.53117

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
tbf on the top of the code…
Mon, 02/28/2022 - 20:00

tbf on the top of the code it says it will be regenerated with each build-