Commands/stopsound

Stops a given sound.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * Specifies the command's target.


 * lit. ''
 * Specifies which category in the Music & Sound options the sound falls under. If it is, stop sound of all category.
 * Must be,  ,  ,  ,  ,  ,  ,  ,  ,  , or.


 * Specifies the sound to stop.
 * $$, it must be either a single word (no spaces) or a quoted string. Can be a sound event defined in sound_definitions.json (for example, ).
 * $$, Must be a sound event defined in sounds.json (for example,  ).