Minecraft-Console-Client/MinecraftClient
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
..
ChatBots Add TUI support for /map 2026-04-05 17:41:32 +08:00
CommandHandler Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Commands feat: Added a /tab command to display the list of online players 2026-04-04 16:21:06 +02:00
config Optimized World.cs 2026-03-25 23:57:02 +01:00
Crypto refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Inventory Enhance container handling for Minecraft protocol updates 2026-03-28 02:17:47 +08:00
Logger refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Mapping Merge remote-tracking branch 'origin/master' into feat/optimization 2026-04-03 15:44:59 +02:00
Mcp Bugfixes to the Looking and Movement. Added General prompt engineer. 2026-04-03 19:54:26 +02:00
Physics More minor optimizations 2026-03-26 18:01:56 +01:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054) 2026-04-06 01:19:19 +08:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources feat: Update map overlay to support interactive zoom and pan, and enhance header with zoom percentage display 2026-04-05 18:03:10 +08:00
Scripting fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054) 2026-04-06 01:19:19 +08:00
TabList Added a /tab command 2026-04-04 16:17:49 +02:00
Tui fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054) 2026-04-06 01:19:19 +08:00
WinAPI Bug fix 2022-10-10 10:56:12 +08:00
Achievement.cs Implement unified achievements feature: data model, protocol handling, state management, ChatBot API, and /achievement command 2026-03-29 20:22:31 +00:00
AutoTimeout.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ClassicConsoleBackend.cs fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054) 2026-04-06 01:19:19 +08:00
ColorHelper.cs Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs Refactor ConsoleIO and Program settings handling 2026-03-29 00:54:34 +08:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
IConsoleBackend.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
INIFile.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Json.cs Fixed a JSON exception 2026-03-26 19:16:48 +01:00
LegacyAchievementCatalog.cs Fix legacy achievements and add test harness 2026-03-30 17:25:08 +02:00
McClient.cs feat: Added a /tab command to display the list of online players 2026-04-04 16:21:06 +02:00
MinecraftClient.csproj chore: Update Sentry package reference to version 6.3.0 2026-04-06 00:35:15 +08:00
Program.cs Added a Github star reminder 2026-04-03 21:15:02 +02:00
RecipeBookRecipeEntry.cs fix: support 1.21.11 recipe book display ids 2026-03-29 18:45:14 +00:00
Settings.cs feat: Added a /tab command to display the list of online players 2026-04-04 16:21:06 +02:00
TaskWithDelay.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
TaskWithResult.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
UpgradeHelper.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00