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

"pitch" option in old-format sound_definitions is ignored

XMLWordPrintable

    • Icon: Bug 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, 1.21.30.22 Preview
    • None
    • Confirmed
    • Windows
    • 392376, 758739

      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.

        1. Minecraft 2022-02-08 11-18-36.mp4
          8.72 MB
          [Mod] tryashtar
        2. pitch bug.mcworld
          2.55 MB
          [Mod] tryashtar

            tryashtar [Mod] tryashtar
            Votes:
            18 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: