更新日:

ヤギの効果音IDとplaysoundコマンド

ヤギの効果音は 18 種類あります。IDは minecraft:entity.goat.ambient のような形で、/playsound で鳴らせます。Java版 26.3 時点のデータです。

効果音ID一覧

音の内容(字幕)効果音IDplaysound
ヤギが鳴くminecraft:entity.goat.ambient
ヤギが死ぬminecraft:entity.goat.death
ヤギが食べるminecraft:entity.goat.eat
ヤギの角が折れるminecraft:entity.goat.horn_break
ヤギがダメージを受けるminecraft:entity.goat.hurt
ヤギが跳ねるminecraft:entity.goat.long_jump
ヤギが搾乳されるminecraft:entity.goat.milk
ヤギが足を踏み鳴らすminecraft:entity.goat.prepare_ram
ヤギがぶつかるminecraft:entity.goat.ram_impact
ヤギが叫ぶminecraft:entity.goat.screaming.ambient
(字幕なし)minecraft:entity.goat.screaming.death
(字幕なし)minecraft:entity.goat.screaming.eat
(字幕なし)minecraft:entity.goat.screaming.hurt
(字幕なし)minecraft:entity.goat.screaming.long_jump
(字幕なし)minecraft:entity.goat.screaming.milk
(字幕なし)minecraft:entity.goat.screaming.prepare_ram
(字幕なし)minecraft:entity.goat.screaming.ram_impact
ヤギが歩くminecraft:entity.goat.step

playsoundコマンドの書き方

/playsound <効果音ID> <音の種類> <対象> [座標] [音量] [ピッチ] の順に書きます。コピーボタンのコマンドは、全員(@a)に、今いる場所で、音量1・ピッチ1で鳴らします。

音を止める

この音を止める

/stopsound @a master minecraft:entity.goat.ambient

統合版では、効果音のIDがJava版と別の体系です(例:mob.zombie.say)。このページのIDは統合版では使えません。

よくある質問

音が聞こえません

プレイヤーの設定で、指定した音の種類の音量が0になっていないか確認してください。対象のプレイヤーが遠い場合は、座標を ~ ~ ~ にして execute at @a run playsound … の形にすると、各プレイヤーの位置で鳴ります。

関連するページ