How to detect when gui closes in blocks

Started by boneman121212 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect when gui closes in blocks

So I'm trying to make a chest with animations, opening animation was easy, but I can't get the closing animation because I can't detect when the Gui closes, how would I detect when the chest Gui was closed so I could play the animation.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a procedure block…
Wed, 11/22/2023 - 12:28

There is a procedure block that detects if a gui is opened. If you have a "not" block and set the gui in the gui opened block to the chest gui, then you can make it work