
/stopsound
作弊 / OP 2Java版 26.3
停止为玩家播放的声音。基本格式为 /stopsound <targets>;共有24 种语法格式和2 个参数。权限:作弊 / OP 2。
/stopsound 语法
游戏数据游戏接受的所有格式。<尖括号> 中的词是需要你填写的参数,其余部分按原样输入。
/stopsound <targets>/stopsound <targets> * <sound>/stopsound <targets> ambient/stopsound <targets> ambient <sound>/stopsound <targets> block/stopsound <targets> block <sound>/stopsound <targets> hostile/stopsound <targets> hostile <sound>/stopsound <targets> master/stopsound <targets> master <sound>/stopsound <targets> music/stopsound <targets> music <sound>/stopsound <targets> neutral/stopsound <targets> neutral <sound>/stopsound <targets> player/stopsound <targets> player <sound>/stopsound <targets> record/stopsound <targets> record <sound>/stopsound <targets> ui/stopsound <targets> ui <sound>/stopsound <targets> voice/stopsound <targets> voice <sound>/stopsound <targets> weather/stopsound <targets> weather <sound>/stopsound 示例
可直接粘贴的示例(需开启作弊)。@s 是你自己,@p 是最近的玩家,@a 是所有玩家,@e 是所有实体。
/stopsound @a music- 停止所有玩家的背景音乐。
/stopsound 参数
每个参数需要填写什么,以及游戏强制的限制。
| 参数 | 类型 | 限制 |
|---|---|---|
<targets> | 目标选择器或玩家名(@s、@p、@a、@e、@r) | 仅限玩家 · 一个或多个 |
<sound> | 带命名空间的ID(minecraft:…) | — |
停止为玩家播放的声音。 它有24 种语法格式,可由以下人员执行:作弊 / OP 2。
另请参阅
/stopsound 常见问题(Java版 26.3)
我的世界中 /stopsound 有什么作用?
停止为玩家播放的声音。
/stopsound 的语法是什么?
基本格式为 /stopsound <targets>。所有格式见上方列表。
/stopsound 有什么使用示例?
/stopsound @a music — 停止所有玩家的背景音乐。
使用 /stopsound 需要开启作弊吗?
需要:作弊 / OP 2。在单人游戏中打开“允许作弊”(或以允许作弊的方式对局域网开放)。