Help with boss music

Started by GagaOfficial on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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
Joined Feb 2022
Points:

User statistics:

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