When anvils were introduced, they weren't put into any sound category (stone, dirt, iron, glass etc). Instead, they had specific sounds for placing, using and breaking, that were added exclusively for them. This meant that the anvil events that didn't get a sound never got a sound event at all, what caused [MC-11996]. In the recent snapshots, this bug was fixed, but the anvils got stone sounds instead of iron. This is the exact same thing that happened with hoppers - just with wood sounds instead of stone -, as described (and fixed) in [MC-5991].
The crafting recipe for anvils makes it totally clear that they should have iron sounds 😛
Related issues
Attachments
Comments


Does MC-91091 describe your issue?

Both tickets treat about stone sounds instead of the intended ones, but MC-91091 treats about placing sounds rather than mining/breaking, and about glass sounds instead of iron. So, I suggest that they're marked as related.

Since the above comment was added, MC-91091 has evolved a lot and now features multiple cases of incorrect sounds. So, for convenience, I think it'd be adequate to resolve this ticket and add it to the other one.

Confirmed in 1.15.2 and 1.16 Release Candidate 1.
Can confirm in 20w48a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a. Video attached.
Can confirm in 21w07a.
Can confirm in 21w11a.
Can confirm in 21w16a.
Can confirm in 21w17a.
Can confirm in 1.17.

Can confirm in 1.17.1 Pre-release 1.

Can confirm in 1.17.1.
Can confirm in 1.18.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.

Can Confirm 1.19.3 Release Preview 3
Latest "fix" creates another bug to which this now uses default Stone instead of Iron.

Can confirm in 23w07a.
Can confirm in 23w46a.
Resolving this as a duplicate of MC-279222. This is considered a feature request.