The Bug:
The sounds of equipping llamas with carpets 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, equipping a llama with a carpet 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 white carpet and summon a tamed llama by using the command provided below.
/summon minecraft:llama ~ ~ ~2 {Tame:1b}Equip the llama with the white carpet 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.