(SOLVED) Mute already playing sound

Started by jupop777 on

Topic category: Help with modding (Java Edition)

Last seen on 19:13, 24. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) Mute already playing sound
Mon, 05/10/2021 - 19:19 (edited)

I'm making a block that plays a sound can someone tell me to make the sound stop when the block gets mined? TIA

Edited by jupop777 on Mon, 05/10/2021 - 19:19
Last seen on 16:05, 13. May 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know that this is possible…
Sun, 08/30/2020 - 23:12

I know that this is possible by using code, but I am not a code wizard myself.

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a procedure to check…
Mon, 08/31/2020 - 02:47

Use a procedure to check when it's broken, then use the "execute command" block, and run this command...replacing any areas that need to be replaced to fit your needs: https://www.digminecraft.com/game_commands/stopsound_command.php.

Last seen on 19:13, 24. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The areas did not work,…
Mon, 08/31/2020 - 19:04

The areas did not work, however, stopping all sounds did in fact turn it off without muting the entire world. Thank you.

Last seen on 19:13, 24. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to make the…
Mon, 08/31/2020 - 19:05

Is there a way to make the music fade as you walk away? The block I am making seems to play the sound at the same volume no matter where you are in the world.

Last seen on 18:54, 23. Aug 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make sure your ".ogg" sound…
Tue, 09/01/2020 - 02:43

Make sure your ".ogg" sound file is in mono, not stereo.