Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-118279

Ambient Sound Interval Doesn't Work For Custom Sound Events

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 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
    • None
    • Confirmed
    • Multiple
    • 818958

    Description

      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:

      1. Download, install and start a world with the supplied pack
      2. Summon a cow
      3. Observe that no sheep sounds are played
        1. There is a sound event 'custom_event' in the resource packs sounds.json file that uses a sheep sound
        2. There is also an ambient_sound_interval component trying to run this sound constantly but it never plays
      4. 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
      5. 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

      Attachments

        Activity

          People

            Gruntastic Gruntastic
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: