The Bug
the new goat horns don't make any sound at all.
Affected Sounds
minecraft:entity.goat.screaming.horn_break
minecraft:item.goat_horn.play
Code Analysis
Code analysis by @unknown can be found in this comment.
Related issues
is duplicated by
relates to
Attachments
Comments

I can confirm this behavior.

I can confirm. When loading into a singleplayer world, these lines print to log:
[15:17:58] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[15:17:58] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
Using /playsound
on these sounds does nothing. Using goat horns in the inventory works, since these use the item.goat_horn.sound.#
sound. MC-250925 is a more accurate description.
This may just be another case of MC-165967.
Can confirm in 22w18a.
Can confirm in 1.19.1.
Can confirm in 1.19.2.

Can also confirm this in 1.19.2
Can confirm in 22w43a.

After investigting a bit on the code, I noticed that the sound "minecraft:item.goat_horn.play
" is not used in any part of the game other than the sound registry (e.j; making it playable only using /playsound), as goat horns use individual sounds for every variant. It is very likely that this sound event was accidentally left in the process of adding goat horns.
However, "minecraft:entity.goat.screaming.horn_break
" is used in the game when a screaming goat's horn breaks when ramming. Since this sound is missing, nothing can be heard (also there aren't subtitles) when this happens.
Even thought this ticket reports that two sounds are missing, each one is caused by different errors. The first one ("minecraft:item.goat_horn.play
") could be fixed by just removing the unused sound from the code, and the second one ("minecraft:entity.goat.screaming.horn_break
") by adding horn break sounds for screaming goats or making them use the sound of normal goats in the sounds.json file instead.

Can confirm in 1.19.3 (/playsound
plays no sound, goat horn items do work and play sounds)

this still happens in 1.20 in 2023, found a goat horn seek and when using it the cooldown happens but no sound is made

Can confirm in 1.20.3.

Still present in 24w03a

Can confirm in 24w09a

Can confirm in 1.20.4

Can confirm in 24w21b

Can confirm in 1.21-rc1.

Can confirm in 1.21