Replies: 1 comment
-
This has already been suggested/discussed, but ItemStack contents cannot be modified on the fly due to how aspects like Creative Mode work. This would generally be destructive or require fairly excessive network time translation of stuff; this is generally just not something that we deem viable or are comfortable with. The supported mechanism for doing this would be with resource packs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
Enchantment descriptions aren't i18ned
Describe the solution you'd like.
Enchantment descriptions are sent to the client in the registry (which I guess got left out when doing i18ns because they don't contain appearant rich text). So I think we can reconfigure the player's registries with rendered translated text each time they switch locales
Describe alternatives you've considered.
Render the enchantments into item lore. Not a neat solution though.. and if I wanna be rigorous I'd have to re-render the lore each time a new player picks up the item / switches locales
Other
Apart from enchantments, I found the following registries with rich text
painting_variant
instrument
trim_material
trim_pattern
jukebox_song
advancement
banner_pattern
does not contain rich text. It stores the translation key prefix, not the text(the suffix is a dye color)Beta Was this translation helpful? Give feedback.
All reactions