When changing the volume of sound events made by the warden in the sounds.json file in a resource pack, then the new modified volume is not applied to the in game
Steps to reproduce:
Create a sounds.json file in a resource pack
Paste the code given below which is supposed to quiet all the warden sounds
Save the file and apply the resource pack and test it in game
{
"entity_sounds": {
"entities": {
"warden": {
"events": {
"agitated": {
"volume": 0
},
"angry": {
"volume": 0
},
"attack": {
"volume": 0
},
"death": {
"volume": 0
},
"heartbeat": {
"volume": 0
},
"hurt": {
"volume": 0
},
"listening": {
"volume": 0
},
"listening_angry": {
"volume": 0
},
"nearby_close": {
"volume": 0
},
"nearby_closer": {
"volume": 0
},
"nearby_closest": {
"volume": 0
},
"roar": {
"volume": 0
},
"step": {
"volume": 0
}
},
"volume": 0
}
}
},
"individual_event_sounds": {
"events": {
"nearby_close": {
"volume": 0
},
"nearby_closer": {
"volume": 0
},
"nearby_closest": {
"volume": 0
},
"sonic_boom": {
"volume": 0
},
"sonic_charge": {
"volume": 0
}
}
}
}
Expected Result:
All the warden sounds should be muted and shouldn't be heard
Observed Result:
Warden sounds are not muted and can be heard
Attachments
Comments 5

No, only few sounds of warden can be modified and not all. It also doesn't allow me to change the volume and pitch of the sound by using that file. All the warden sounds should be able to be modified in sounds.json file as that's where all the other entity sounds are modified. The sound events for warden do exist in the sounds.json file, but they don't work at all if I modify anything such as volume which is given in my above example.