Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-36042

Sounds.json cannot alter the pitch or volume at which the game calls a sound event



    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47e, Minecraft 13w48a, Minecraft 13w48b, Minecraft 13w49a, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w07a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w20a, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 1.8-pre1, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w31a, Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w32c, Minecraft 15w33a, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w36b, Minecraft 15w36c, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w38a, Minecraft 15w38b, Minecraft 15w39a, Minecraft 15w39b, Minecraft 15w39c, Minecraft 15w40a, Minecraft 15w40b, Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47b, Minecraft 15w47c, Minecraft 15w49a, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 15w51a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w40a, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w19b, 1.17, 1.17.1, 1.18.1, 1.19, 1.19.1 Pre-release 2, 1.19.2, 1.19.3, 23w06a, 1.19.4, 1.20.1
    • Confirmed
    • Sound
    • Low


      The bug

      The game calls all sound events with certain variables (most notible pitch, but also volume and whether it is global or not).
      These variables cannot be changed by resource packs in any way shape or form, despite the sounds.json having corresponding fields (per sound file in a sound event).

      Steps to reproduce

      1. Place grass blocks, listening closely to the pitch of the sounds.
      2. Run /playsound block.grass.place master @s ~ ~ ~ 1 several times, listening closely to the pitch of the sounds.
      3. Observe the pitch is different, and as such the game calls the sound event with a pitch (0.8 in this case).

      Expected result

      The game would always call sound events with "default" parameters, and the sounds.json would handle said parameters with the fields in the sounds list/array.

      Actual result

      The pitch, volume and whether or not a sound is global are hardcoded and cannot be edited by resource packs.

      Suggested change for when this gets fixed

      To preserve the game's functionality of a pitch range, without having to create an event every single pitch, it might be good to give the pitch and volume options a min and max value, rather than only a single float.





            Unassigned Unassigned
            FVbico Dhranios
            47 Vote for this issue
            26 Start watching this issue