Mojira Archive
MCPE-49430

"pitch" option in old-format sound_definitions is ignored

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.

Unresolved

[Mod] tryashtar

2019-07-24, 02:27 AM

2024-08-14, 11:16 PM

18

6

Confirmed

392376, 758739

1.18.10.28 Beta - 1.21.30.22 Preview1.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

1.16.100.57 Beta