mojira.dev
MC-299105

Tears and Lava Chicken music disc 'desc' translations are unused

In Minecraft snapshot 24w21a, a jukebox song registry was added which specifies a description. As part of this change, the existing item.<namespace>.music_disc_<path>.desc translations were moved to jukebox_song.<namespace>.<path>. Minecraft snapshot 24w33a introduced deprecated.json, which listed the previous translation keys as removed. However, the Tears music disc added after the translation key change added translations for both key formats, despite the old format (item.minecraft.music_disc_tears.desc) not being used in the game. In Minecraft 1.21.7 release candidate 1, this issue also affects the Lava Chicken music disc (item.minecraft.music_disc_lava_chicken.desc).

Steps to reproduce

  1. Run /tellraw @s {translate:"item.minecraft.music_disc_lava_chicken.desc"}

  2. Run /tellraw @s {translate:"jukebox_song.minecraft.lava_chicken"}

  3. Observe that the printed messages are the same

  4. Extract deprecated.json from JAR and observe that there are entries for the existing item.<namespace>.music_disc_<path>.desc translations but not the new ones.

Observed Results

item.minecraft.music_disc_tears.desc and item.minecraft.music_disc_lava_chicken.desc exist.

Expected Results

item.minecraft.music_disc_tears.desc and item.minecraft.music_disc_lava_chicken.desc would not exist.

Linked issues

Comments 6

Thank you for your report!

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

To make your bug report as effective as possible, please try and include the following steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

Hi, I'm not really sure what additional info is being asked for here. This is essentially the same as MC-274495, which has been marked as "Works as Intended." (The "item.minecraft.music_disc_*.desc" key is unused.)

To clarify why this issue is different from MC-274495, the idea of unused translation keys is that they get removed by being added to removed in deprecated.json, but are kept in the language files for technical reasons related to compatibility with older versions. In this case, the unused translation keys aren’t in deprecated.json.

Did you mean in Minecraft snapshot 25w21a?

haykam

(Unassigned)

1438911

Confirmed

Expansion A

Low

Text

1.21.6, 1.21.7 Release Candidate 1

Retrieved