Hello! I am making a forge 1.6.4 mod. When a player right clicks an item (Using onItemUse) I play a song (Quite a long one). Before I play that song though, I want to cancel the other sounds. So if the player clicks the iPod twice in a row, I don't want the song to play twice, I want it to play only once.
Hello! I am making a forge 1.6.4 mod. When a player right clicks an item (Using onItemUse) I play a song (Quite a long one). Before I play that song though, I want to cancel the other sounds. So if the player clicks the iPod twice in a row, I don't want the song to play twice, I want it to play only once.
Bump
you can try checking if the song is playing and then cancel it then activate the song again that way any song playing will stop first