The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Commands/stopsound

From Minecraft Wiki
Jump to: navigation, search
stopsound
Restrictions

Operator

First introduced

Java Edition 1.9.3 (1.9.3-pre2)
PE 1.0.5 (PE alpha 1.0.5.0)

Stops a given sound.

On Bedrock Edition, this can be used on repeating command blocks to stop cave ambience and other sound that might be unwanted (simply use 'stopsound ambient.cave'). However, this is harder on Java.

Syntax[edit]

  • Java Edition
stopsound <targets> [<source>] [<sound>]
stopsound <targets> [*] <sound>
  • Bedrock Edition
stopsound <player: target> [sound: string]

Arguments[edit]

<targets> (BE: player: target)

Specifies the sound's target. Must be a player name or a target selector.
Entities other than players are not allowed.

<source>[Java Edition only]

Specifies which category in the Music & Sound options the sound falls under. Must be master, music, record, weather, block, hostile, neutral, player, ambient, or voice.

*[Java Edition only]

Stop sound of all category.

<sound> (BE: sound: string)

Specifies the sound to stop. Must be a sound event defined in sounds.json in Java Edition or sound_definitions.json in Bedrock Edition (for example, block.bamboo.hit). If no sound if specified, stops all sounds.

Result[edit]

Fails if the arguments are not specified correctly, or if <targets> fails to resolve to one or more online players.

On success, stop the specified sound(s) for the targeted players.

History[edit]

Java Edition
1.9.3pre2Added /stopsound.
Pocket Edition
1.0.5alpha 1.0.5.0Added /stopsound.

See also[edit]