mojira.dev
MCPE-186679

Warden sounds can't be modified by sounds.json in a resource pack

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:

  1. Create a sounds.json file in a resource pack

  2. Paste the code given below which is supposed to quiet all the warden sounds

  3. 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

Does it work if you use warden.entity.json to control the sounds instead?

Does it work if you use warden.entity.json to control the sounds instead?

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.

After testing further, I have determined that those sounds which can't be modified by the sounds.json file are actually modifiable by that file using sound_definitions.json file so you may close this bug report

PAPISOP

(Unassigned)

Unconfirmed

Multiple

All

1.21.30

Retrieved