-
Bug
-
Resolution: Works As Intended
-
None
-
1.18.10.27 Beta, 1.18.10.26 Beta, 1.18.0.24 Beta, 1.18.0.22 Beta, 1.18.0.20 Beta, 1.17.40.23 Beta, 1.17.40.20 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.21 Beta, 1.17.11 Hotfix, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.17.10.23 Beta, 1.17.1 Hotfix, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.17.0.54 Beta, 1.17.0.52 Beta, 1.17.0.50 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.220.51 Beta, 1.16.220.50 Beta, 1.16.210.60 Beta, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.18.2 Hotfix, 1.18.30.33 Preview, 1.19.20.24 Preview, 1.19.11 Hotfix
-
Confirmed
-
Multiple
-
818958
When using the component "minecraft:ambient_sound_interval": {} and setting the event_name to a custom sound event defined in the mobs entity sounds (in the sounds.json file). The sound will never play.
Steps To Reproduce:
- Download, install and start a world with the supplied pack
- Summon a cow
- Observe that no sheep sounds are played
- There is a sound event 'custom_event' in the resource packs sounds.json file that uses a sheep sound
- There is also an ambient_sound_interval component trying to run this sound constantly but it never plays
- Go into the cows behaviour file and with the comments around the ambient sound intervals so that the hurt sound event is no longer commented
- The cow will now begin to make hurt sounds
Expected Results:
- Custom sound events can be used by the ambient_sound_interval component (as well as all other sound event using components)
Actual Behaviour:
- Custom sound events don't work for the ambient_sound_interval component