mojira.dev
MC-119795

Item lore is untranslatable

It's currently impossible to translate item lore as the Lore name in NBT doesn't accept a "translate":"my.translation" name/value pair as one of its values and gives a parsing error due to not expecting a :.

Steps to reproduce:

/give @s minecraft:wool 1 0 {display:{Lore:["translate":"my.translation"]}}

What I expected to happen:
Getting a wool block that displays the string my.translation as its lore that can optionally be translated with a language file in a ressource pack.

What actually happened:
Data tag parsing failed

Comments 3

feature request, not a bug.

Considering everything else that is exposed to end users in the game is translatable I'm pretty sure this fulfills any definition of a programming oversight which is what bugs are.

This is not considered a bug, but a change/feature request.

The long term plan is to change all text displayed to the player to be the json text component, that this is not the case in a number of situations (lore, item name, entity name, team prefix and suffix, book title and arthor, splashes, credits, end poem, etc.) is not a bug. (plus your suggestion is invalid syntax, nbt != json and as such json cannot be put in nbt directly).

haschischtasche

(Unassigned)

Unconfirmed

Minecraft 1.12

Retrieved