mojira.dev
MC-195666

Unable to use 1.16's Hex Color system in resource pack Lang Files or Other pack files that allow Formatting

I noticed that there is no documentation to be able to use the Hex Color System in lang files.

— When minecraft loads the .lang files it merely loads every string from a .lang file into memory. when minecraft need to draw text it calls the draw function in net.minecraft.client.font.TextRenderer which takes MatrixStack matrices, String text, float x, float y, int color and whereas some functions where we can traditionally change the color such as the chatbox give some leeway. most other screens have hardcoded values for these colors.
Basically, there is no known docs or method to using the Hex Color System in Lang Files.

Was this a forgotten feature? Or was it purposefully ignored / not added

I forgot to mention at the top of the post, but this also goes for other pack files that can use § formatting, like pack.mcmeta, lang files, credits, title screen messages, and other things.

Comments 2

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit

Thank you for your report!
However, this issue is Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit Minecraft Suggestions on Reddit or visit the Feedback website.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Taylor Schneider

(Unassigned)

Unconfirmed

(Unassigned)

1.16.1, 20w29a

Retrieved