The Bug:
The sounds of attaching chests to mobs are controlled by the "Friendly Mobs" sound category instead of "Players".
Actions that a player performs on a mob, such as milking a cow or shearing a sheep, are controlled by the "Players" volume slider. However, attaching a chest to a donkey, a mule, or a llama plays its sound through the "Friendly Mobs" volume slider, therefore introducing an inconsistency.
Steps to Reproduce:
Open the "Music & Sounds..." menu and set the "Friendly Mobs" slider to "OFF".
Obtain a chest and summon a tamed donkey by using the command provided below.
/summon minecraft:donkey ~ ~ ~2 {Tame:1b}Attach the chest to the donkey and observe if a sound is heard.
Observed Behavior:
The sounds are controlled by the "Friendly Mobs" sound category.
Expected Behavior:
The sounds would be controlled by the "Players" sound category.
Can confirm.