super simple gui help

Started by svu11 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
super simple gui help

I think im missing something simple.

i can open my gui but i cant close it with the same key.

here is the code

https://imgur.com/a/4jTT0qH

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a local variable(maybe…
Wed, 02/19/2025 - 10:56

make a local variable(maybe called ClickedTimes or TimesOpened) and increase it everytime that button is pressed, if it equals two then close GUI?

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you need an image, just…
Wed, 02/19/2025 - 10:56

if you need an image, just ask.