This is in contrast to the sound events themselves, which are. Makes things quite confusing especially when mods are brought into the picture.
Since it'd be inconsistent to put minecraft: before the translation key IDs it'd probably be better to make them more consistent with block/item/entity keys, for example subtitles.block.honey_block.slide would become subtitles.block.minecraft.honey_block.slide
Comments 4
Relates to MC-235396. (In fact, if that gets fixed, this is fixed, but not vice versa if the suggested fix here is used.)
Confirmed for 22w11a and 1.18.2.
How can this be reproduced and confirmed in the latest release? Please provide any necessary commands to do so.
Affects 1.21.11, this can be verified by examining the game's asset files directly.
In sounds.json, sound events reference subtitle translation keys via the "subtitle" field. These keys are never namespaced:
"block.chest.open": { "subtitle": "subtitles.block.chest.open" }
"block.honey_block.slide": { "subtitle": "subtitles.block.honey_block.slide" }
"entity.pig.ambient": { "subtitle": "subtitles.entity.pig.ambient" }
"entity.creeper.primed": { "subtitle": "subtitles.entity.creeper.primed" }
"item.bucket.fill": { "subtitle": "subtitles.item.bucket.fill" }In en_us.json, the subtitle translation keys are defined without any namespace:
"subtitles.block.chest.open": "Chest opens",
"subtitles.block.honey_block.slide": "Sliding down a honey block",
"subtitles.entity.pig.ambient": "Pig oinks",
"subtitles.entity.creeper.primed": "Creeper hisses",
"subtitles.item.bucket.fill": "Bucket fills"Compare this to how every other translation category in the same en_us.json consistently embeds the "minecraft" namespace:
"block.minecraft.chest": "Chest",
"block.minecraft.honey_block": "Honey Block",
"entity.minecraft.pig": "Pig",
"entity.minecraft.creeper": "Creeper",
"item.minecraft.bucket": "Bucket"Out of 968 subtitle keys in en_us.json, zero contain the "minecraft" namespace. Meanwhile, categories like block (1,854 keys), item (755 keys), entity (213 keys), biome (65 keys), effect (40 keys), and enchantment (44 keys) all consistently use it.
Hi there!
I can confirm.