Sounds don't play while in custom GUI.

Started by hunterben964 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Apr 2020
Points:
658

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
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
Active 3 years ago
Joined Apr 2020
Points:
658

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
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.

Active 3 years ago
Joined Apr 2020
Points:
658

User statistics:

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

Thanks!