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

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Multiple

      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

            Reporter:
            Gruntastic Gruntastic
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: