更新日:
環境音の効果音IDとplaysoundコマンド
環境音の効果音は 22 種類あります。IDは minecraft:ambient.basalt_deltas.additions のような形で、/playsound で鳴らせます。Java版 26.3 時点のデータです。
効果音ID一覧
| 音の内容(字幕) | 効果音ID | playsound |
|---|---|---|
| (字幕なし) | minecraft:ambient.basalt_deltas.additions | |
| (字幕なし) | minecraft:ambient.basalt_deltas.loop | |
| (字幕なし) | minecraft:ambient.basalt_deltas.mood | |
| 不気味な音が鳴る | minecraft:ambient.cave | |
| (字幕なし) | minecraft:ambient.crimson_forest.additions | |
| (字幕なし) | minecraft:ambient.crimson_forest.loop | |
| (字幕なし) | minecraft:ambient.crimson_forest.mood | |
| (字幕なし) | minecraft:ambient.nether_wastes.additions | |
| (字幕なし) | minecraft:ambient.nether_wastes.loop | |
| (字幕なし) | minecraft:ambient.nether_wastes.mood | |
| (字幕なし) | minecraft:ambient.soul_sand_valley.additions | |
| (字幕なし) | minecraft:ambient.soul_sand_valley.loop | |
| (字幕なし) | minecraft:ambient.soul_sand_valley.mood | |
| (字幕なし) | minecraft:ambient.underwater.enter | |
| (字幕なし) | minecraft:ambient.underwater.exit | |
| (字幕なし) | minecraft:ambient.underwater.loop | |
| (字幕なし) | minecraft:ambient.underwater.loop.additions | |
| (字幕なし) | minecraft:ambient.underwater.loop.additions.rare | |
| (字幕なし) | minecraft:ambient.underwater.loop.additions.ultra_rare | |
| (字幕なし) | minecraft:ambient.warped_forest.additions | |
| (字幕なし) | minecraft:ambient.warped_forest.loop | |
| (字幕なし) | minecraft:ambient.warped_forest.mood |
playsoundコマンドの書き方
/playsound <効果音ID> <音の種類> <対象> [座標] [音量] [ピッチ] の順に書きます。コピーボタンのコマンドは、全員(@a)に、今いる場所で、音量1・ピッチ1で鳴らします。
- 音の種類は master、music、record、weather、block、hostile、neutral、player、ambient、voice から選びます。プレイヤーの音量設定のどの項目に従うかが変わります。
- 音量は 1 で約16ブロック先まで届きます。大きくすると、届く距離が伸びます。
- ピッチは 0.5〜2 の範囲で、大きいほど高い音になります。
音を止める
この音を止める
/stopsound @a master minecraft:ambient.basalt_deltas.additions統合版では、効果音のIDがJava版と別の体系です(例:mob.zombie.say)。このページのIDは統合版では使えません。
よくある質問
音が聞こえません
プレイヤーの設定で、指定した音の種類の音量が0になっていないか確認してください。対象のプレイヤーが遠い場合は、座標を ~ ~ ~ にして execute at @a run playsound … の形にすると、各プレイヤーの位置で鳴ります。