Help with boss music

Started by GagaOfficial on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Jul 2022
Points:
393

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Help with boss music
Thu, 07/28/2022 - 15:28 (edited)

I wanted to create bosses in my minecraft mod. so I made one of them, and I made a feature that turns on the music when the boss appears.

But I had a problem that even when the boss is dead, the music is still playing. And I do not know how to stop it. It stops only when the music should end in an original way

that's why I created this forum so that anyone can help me in this case.

Edited by GagaOfficial on Thu, 07/28/2022 - 15:28
Active 2 years ago
Joined Feb 2022
Points:
527

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
You could make a procedure…
Fri, 07/29/2022 - 08:33

You could make a procedure with trigger "When entity dies" and then just use stopsound