mojira.dev
MCPE-153558

Baby panda idle sound definition schema error

The bug

The mob.panda_baby.idle sound definition has a schema error: the pitch field is in the sound definition root, where it has no effect, instead of in each sound entry.

How to reproduce

1. Open the sound_definitions.json file and navigate to mob.panda_baby.idle
2. Notice the pitch next to category. That's not where it goes. Look at any other sound that uses pitch to see where it's supposed to go.

Expected result
Content log error from an invalid field existing in the vanilla data

Actual result
Invalid field is ignored. Note that baby pandas do still sound higher pitch than normal ones due to the hardcoded pitch-increase.

Comments 4

Resolving temporarily as Awaiting Response. Could you please add a video of the same sound being played by an adult panda and a baby panda? This ticket will reopen automatically when you reply.

While attempting to get this video, I noticed that the actual baby mobs do play at a higher pitch. Sorry for misleading, this contradicted my earlier tests because of the natural randomized pitch, and my previous struggles to get consistent sounds due to MCPE-153559.

So, this can only be reproduced with commands:

/playsound mob.panda.idle
/playsound mob.panda_baby.idle

Both sound identical even though the latter definition contains "pitch": 1.5. From this, we can make several conclusions:

  • The pitch-up for baby pandas is hardcoded, just like other mobs

  • The pitch in the sound definition is unnecessary, because it's in the wrong place

  • If it was moved to the correct place, the sound would be too high-pitch, because of observation 1

  • Therefore both it, and the entire definition, are redundant, since it is functionally and intentionally identical to mob.panda.idle

So my suggested course of action is to remove this sound event altogether, because it violates the JSON schema. Correcting the schema error would make the sound too high, and correcting the too-high error would make the event identical to the regular panda event.

Please let me know if you need any further information.

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
 📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

This affects 1.20.60.26

tryashtar

(Unassigned)

959372

Confirmed

Windows

1.18.12 Hotfix, 1.19.10, 1.20.51 Hotfix

Retrieved