Sounds don't play while in custom GUI.

Started by hunterben964 on

Topic category: Help with modding (Java Edition)

Last seen on 18:25, 16. Jun 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sounds don't play while in custom GUI.
Wed, 05/20/2020 - 15:58 (edited)

I want to have buttons in a GUI that play a sound when clicked but the sound never plays. I can play the sound if I trigger the procedure other ways and the button is linked to the procedure properly .

 

Does anyone know the problem?

 

The GUI in-game. (ignore the keyboard image and top 5 buttons cause they do their jobs fine)
The GUI in game. (ignore the keyboard image and top 5 buttons cause they do their jobs perfectly well)

Pic of procedure

 

 

Edited by hunterben964 on Wed, 05/20/2020 - 15:58
Last seen on 18:25, 16. Jun 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is the procedure image…
Wed, 05/20/2020 - 15:46

Image of the procedure

Here is the procedure image for anyone who needs it.

Last seen on 18:25, 16. Jun 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Wed, 05/20/2020 - 19:54

Thanks!