MinecraftDev
MinecraftDev copied to clipboard
Support legacy color formats in strings
For any platforms default chat API's that support legacy color codes, or for any method annotated @com.jetbrains.annotations.Language("minecraft.chat")
(or similar)
Support formatting the text, or at least underlining the text according to minecrafts formatting rules, so its clear what the text will look like in game.
An option to provide alternate strings such as &a would be desired, potentially configured in the annotation itself (since we know if a core API provides alternate strings or not).
Maybe @Language("minecraft.chat:&")
Bukkit API: player.sendMessage
Should be expanded to code folding, in-string text rendering, auto-completion, and possibly carrying the code folding rendering over to the newer chat APIs too.
Must have feature. How isn't it implemented yet?
Legacy color codes are by definition legacy and so using color enums / component builders would be preferred. You can always PR the feature if you want to see it faster. (I'd note that the common color enums do already have support in Minecraft Dev and show up in the gutter.)