Sounds don't play while in custom GUI.

Started by hunterben964 on

Topic category: Help with Minecraft modding (Java Edition)

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
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.