Started by
Yosuu
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to play a song that is around 3:00 long when someone puts on a helmet I made. I imported the song as an ogg and have a procedure under Helmet Tick event (https://imgur.com/a/602jCUA). When I put on the helmet the game freezes and crashes.
The game is probably crashing because it is attempting to repeatedly play that song over and over again.
You will probably need to find a way to test if the song is being currently played, and if it is not, then play it.