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

"pitch" option in old-format sound_definitions is ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • 1.16.100.57 Beta
    • 1.18.10.28 Beta, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, 1.16.200.53 Beta, 1.13.0.2 Beta, 1.16.10, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.18.12 Hotfix
    • None
    • Confirmed
    • Windows
    • 392376, 758739

    Description

      Context

      There are two ways to write a sound_definitions.json file, both of which are used by vanilla:

      • Put all the sound event keys in the root
      • Put all the sound event keys in a sound_definitions object, next to a format_version (1.14.0)

      The bug

      When using the former style, the pitch option in sound event entries is ignored.

      How to reproduce

      1. Download the attached world
      2. Press the button on the left, then the right
         Both sound identical

      The resource pack contains a single sound_definitions file with pitch specified, so they should sound different.

      Expected behavior
      Either the pitch should work properly just as it does when using the modern sound definitions format, or the game should alert you with a content log error that the field is being ignored.

      Attachments

        Issue Links

          Activity

            People

              tryashtar [Mod] tryashtar
              Votes:
              16 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: