Minecraft-Console-Client/MinecraftClient/Protocol
BruceChen 7fd70ccf38 fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054)
Minecraft 1.16+ servers can send custom hex colors in JSON text
components ("color": "#RRGGBB"). MCC's ChatParser.Color2tag() only
recognized the 16 named colors, silently dropping hex values and
leaving gradient/custom-colored chat as uncolored plain text.

- ChatParser: recognize hex color values and emit internal §#rrggbb
  encoding; extend ColorCodeRegex to match the new format
- ClassicConsoleBackend: resolve §#rrggbb to ANSI escape codes via
  ColorHelper before passing to ConsoleInteractive (adapts to the
  configured ConsoleColorMode: 24-bit, 8-bit, 4-bit, or disable)
- McColorParser (TUI): parse §#rrggbb into exact SolidColorBrush
  for full RGB fidelity in Avalonia
- ChatBot.GetVerbatim(): skip the full 8-char §#rrggbb sequence
  instead of only 2 chars, preventing hex digits from leaking into
  stripped text

Made-with: Cursor
2026-04-06 01:19:19 +08:00
..
Handlers Fixed the explosion packet on 26.1 2026-04-04 23:12:05 +02:00
Message fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054) 2026-04-06 01:19:19 +08:00
ProfileKey refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Session refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
DataTypeGenerator.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
EntityActionType.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
GuidExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
IMinecraftCom.cs feat: add recipe book command support 2026-03-29 18:00:44 +00:00
IMinecraftComHandler.cs Merge origin/master into feat/mcp-server 2026-04-03 20:03:37 +02:00
JwtPayloadDecode.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
MicrosoftAuthentication.cs Address code review: add SlowDownIncrementSeconds constant, return OtherError for device code failures 2026-03-23 15:41:25 +00:00
MojangAPI.cs Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
PlayerInfo.cs Added a /tab command 2026-04-04 16:17:49 +02:00
ProtocolHandler.cs Add server status display and protocol version upgrade handling 2026-03-30 01:39:37 +08:00
ProxiedWebRequest.cs Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
ReplayHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
ServerStatusDisplay.cs Enhance server status display and player information handling 2026-03-30 02:46:34 +08:00
ServerStatusInfo.cs Add server status display and protocol version upgrade handling 2026-03-30 01:39:37 +08:00