Crashing on GUI open procedure

Started by FragantA4sheet on

Topic category: Help with modding (Java Edition)

Last seen on 07:21, 7. Feb 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Crashing on GUI open procedure

Title.

I have a button in a GUI that closes all GUIs then opens another and this crashes my game. They're very simple procedures but wondering if anyone knows why or how to set up a multi-page GUI in this way?

I've tried putting the close GUI procedure by itself and that works as soon as I press the button, it closes. However if I put the:

"Open screen for [event/target entity] pass location [x] [y] [z] GUI: TEST"

it crashes as soon as I press the button that procedure is linked to. There are no other conditions etc, just that alone.

Last seen on 22:19, 17. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'd suggest making it so…
Mon, 01/23/2023 - 02:43

I'd suggest making it so that it closes all GUIS, then waits on one tick, then opens up another GUI. Might solve the issue. If it still doesn't work, just test with not having any closing of GUI's, but just opening another one instantly.

Last seen on 07:21, 7. Feb 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will try the wait one tick…
Mon, 01/23/2023 - 23:10

I will try the wait one tick, but as per original post, even opening another instantly without any close GUI procedure crashes the game, so I don't think that's the problem..

Last seen on 17:39, 15. Jan 2024
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im having the same issue rn,…
Thu, 11/30/2023 - 18:41

Im having the same issue rn, does someone found the solution ?