How to play sound on closing GUI

Started by Osuushi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to play sound on closing GUI

All is in the title. I have a procedure for playing sound on right click on a chest but i can't find any procedure related on closing GUI. Any suggestions? Thanks in advance.

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello If it's a custom GUI,…
Wed, 11/23/2022 - 18:17

Hello

If it's a custom GUI, you can use the custom GUI events, if you don't see them, they have to be at the bottom of the page of creating the custom GUI

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Best bet is to use the…
Thu, 11/24/2022 - 04:41

Best bet is to use the custom GUI events like Wachipayoxx mentioned. It took me a couple minutes the first time to find how to access these, as it's set up a little differently to other things, so for reference/specificity see the yellow arrow:

 

Gui Triggers Location

 

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for replies, i found…
Sun, 11/27/2022 - 10:30

Thanks for replies, i found them finally (didn't see the bottom collapsed settings :D ) Now i'm stuck on importing animations from blockbench to play animation on open and closing chest. If you know how to do that, i take it ! Thanks anyway :)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How did you get that picture…
Thu, 12/08/2022 - 13:37

How did you get that picture in? I can't do screenshots? Oh wait, did you just change the file from screenshot to .PNG?