Minecraft:Commands/stopsound
From SAS Gaming Wiki
More actions
Stops a given sound.
Syntax
- Java Edition
stopsound <targets> [<source>] [<sound>]
- Bedrock Edition
stopsound <player: target> [sound: string]
Arguments
- Specifies the command's target.
- Template:Arg desc
- Specifies which category in the Music & Sound options the sound falls under. If it is
*, stop sound of all category. - Must be
master,music,record,weather,block,hostile,neutral,player,ambient,voice, or*.
- Specifies the sound to stop. If no sound is specified, stops all sounds.
- Template:IN, Template:Arg desc Should be a sound event defined in sound_definitions.json (for example,
mob.pig.say). - Template:IN, Template:Arg desc Should be a sound event defined in sounds.json (for example,
entity.pig.ambient).
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table
History
Java Edition
Bedrock Edition
See also
- Template:Cmd – plays a sound
External links
de:Befehl/stopsound es:Comandos/stopsound ja:コマンド/stopsound pt:Comandos/stopsound ru:Команды консоли/stopsound uk:Команди консолі/stopsound zh:命令/stopsound