Close all openGUI / target event/entity not working?

Started by Eternal on

Topic category: Help with MCreator software

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Close all openGUI / target event/entity not working?

So iv been trying to make a mod in which the player can make backpacks and gain extra inventory. And one of the features i was trying to make was binding a key input to the open and closing of the GUI. After proof reading my  functions I realized that my code should work, however the problem was that the code block close any open GUI of event/entity would not activate even when directly under the key binding. Im not sure if its because of a bug in MCreator or if i was mis interpreting the use of the close all GUI block.

 

If anyone has any ideas or knows the fix to my problem please let me know in a comment.

Also this is my first time on the forum so I apologize if this is in the wrong forum section.

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So basically your problem is…
Fri, 11/12/2021 - 04:27

So basically your problem is:

You can open backpack but not close it? 

and yes it is wrong section, MCreator Software means like downloading MCreator, mcreator crashing etc. use Help with Modding (Java)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah thats exactly whats…
Fri, 11/12/2021 - 10:28

Yeah thats exactly whats happening, thanks for letting me know I’ll copy and paste the forum over. 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay so just letting you…
Fri, 11/12/2021 - 16:52

okay so just letting you know, you don't need a keybind to close it, you can close a gui with E or ESC