mojira.dev
MC-250924

Goat horns are missing sounds

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

Attachments

Comments

migrated
[media]
Avoma

I can confirm this behavior.

Tis_awesomeness

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.

violine1101

This may just be another case of MC-165967.

Avoma

Can confirm in 22w18a.

Avoma

Can confirm in 1.19.1.

Avoma

Can confirm in 1.19.2.

migrated

Can also confirm this in 1.19.2

Avoma

Can confirm in 22w43a.

ISRosillo14

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.

xParadoxical_

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

migrated

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

migrated

Can confirm in 1.20.3.

hoyskedotte

Still present in 24w03a

phaic

Can confirm in 24w09a

migrated

Can confirm in 1.20.4

BemuseLeader10

Can confirm in 24w21b

COMETC2021A1

Can confirm in 1.21-rc1.

RedCarlos

Can confirm in 1.21

migrated

(Unassigned)

1256309

Confirmed

Platform

Normal

Sound

goat-horn

22w17a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 3, ..., 1.20.5, 24w21b, 1.21, 1.21 Release Candidate 1, 24w33a

24w36a

Retrieved