Epic Boss Music

Started by The Average Gamer on

Topic category: User side tutorials

Active 7 months ago
Joined Jun 2019
Points:
720

User statistics:

  • Modifications: 1
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
Epic Boss Music

So I have some epic boss music that I want to play when a boss is alive and stop when he is dead. Is there any way I can do this?

Active 5 years ago
Joined Jul 2019
Points:
709

User statistics:

  • Modifications: 1
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
In the mob procedure section…
Tue, 08/13/2019 - 17:36

In the mob procedure section, you can have a procedure that executes when the mob first spawns.  For your procedure, you can find the play sound block in the world management section.  However, I don't know if there is a way to stop or replay your music once the boss is killed, or if they aren't killed yet.

Active 5 years ago
Joined Jul 2019
Points:
709

User statistics:

  • Modifications: 1
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
Oh, you also have to go to…
Tue, 08/13/2019 - 17:38

Oh, you also have to go to resources/sound files and import your epic boss music.

Active 3 years ago
Joined Sep 2018
Points:
739

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 62
Here's how one could use…
Mon, 08/19/2019 - 03:24

Here's how one could use boss music when it comes to mobs, both start and stop.

 

On initial mob spawn
- Use this block:

Play at X:(x) Y:(y) Z:(z) level:(Num) pitch:(Num) sound:(Sound)

 If it's a custom sound, I believe the sound is played based on what category it is in, such as master, ambient, player, neutral, hostile, block, record, and music.

When mob dies
- There's not necessarily an official stopsound block, however you could use this block:

Execute command /

 and use this command:

stopsound @a <sound category> <sound>

This should work for what you want to have happen, but I could be wrong.

Active 4 years ago
Joined Jun 2020
Points:
629

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
oh my god thats useful for…
Wed, 07/01/2020 - 12:32

oh my god thats useful for me too

Active 2 years ago
Joined Sep 2020
Points:
702

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
How i Put the block in…
Fri, 08/06/2021 - 18:14

How i Put the block in initial mob spawn

Active 2 weeks ago
Joined Dec 2016
Points:
1137

User statistics:

  • Modifications: 10
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 408
its not a block its a…
Fri, 08/06/2021 - 19:55

its not a block its a trigger in the mob mod element

Active 1 year ago
Joined Sep 2023
Points:
195

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
how do i make the music loop…
Sat, 10/21/2023 - 13:13

how do i make the music loop? Since it just stops at one point

Active 1 year ago
Joined Jan 2022
Points:
490

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
first, you have to know how…
Sat, 01/13/2024 - 21:43

first, you have to know how many seconds long your song is. in minecraft, one second = 20 ticks, so multiply the song length in seconds by 20, so <song length> × 20.

heres an example:

song length = 3:21 minutes ÷ 60 = 201 seconds

201 seconds × 20 = 4020 ticks

 

now you know how many ticks your song plays for, so you can now use the [wait <ticks> , then on server-side:] block to trigger the song again. you should also put an if-statement to check if the boss is still alive.