How make a Gui button affect a Keybind's procedure?

Started by Dr Doggo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How make a Gui button affect a Keybind's procedure?

I'm trying to make a mod where if you open the custom gui and press one of the buttons it affects which procedure gets activated or change what happens in a procedure and nothing I find helps so help would be appreciated.