Minecraft-Console-Client/MinecraftClient/Tui
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
..
BrewingStandView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
ContainerViewBase.cs refactor: Replace TextBlock creation with McColorParser for improved text rendering in chat display 2026-04-06 00:35:15 +08:00
ContainerViewModel.cs TUI support for more container 2026-03-28 02:18:11 +08:00
CraftingView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
EnchantingTableView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
FurnaceView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
GridContainerView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
GrindstoneView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
HopperView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
IconGridBuilder.cs Add icon banner display option and refactor startup banner logic 2026-03-31 00:03:29 +08:00
InventoryApp.cs TUI support for more container 2026-03-28 02:18:11 +08:00
InventoryMainView.cs TUI support for more container 2026-03-28 02:18:11 +08:00
InventoryTuiHost.cs TUI support for more container 2026-03-28 02:18:11 +08:00
InventoryViewModel.cs TUI support for more container 2026-03-28 02:18:11 +08:00
MainTuiView.cs refactor: Simplify MainTuiView by removing architecture check for default return value 2026-04-06 00:35:15 +08:00
MapOverlay.cs fix: Update zoom display in MapOverlay to show one decimal place for improved readability 2026-04-05 18:11:05 +08:00
MccBannerPanelBuilder.cs Replaces the 120-TextBlock Grid (one per pixel) with a 7-TextBlock StackPanel using Run inlines for coloring. This eliminates ~113 unnecessary composition visual nodes from the banner icon. 2026-04-05 17:40:51 +08:00
McColorParser.cs fix: Support hex RGB colors (#RRGGBB) in chat messages (fixes #2054) 2026-04-06 01:19:19 +08:00
MccTuiApp.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
MinimapBlockColors.json feat: Refactor MapColors class to load color palette from JSON resource 2026-04-05 01:17:57 +08:00
MinimapColorMap.cs Cave mode for minimap 2026-03-31 01:28:24 +08:00
MinimapControl.cs Cave mode for minimap 2026-03-31 01:28:24 +08:00
MinimapEntityCategories.json Minimap support 2026-03-29 19:53:50 +08:00
MinimapEntityClassifier.cs Minimap support 2026-03-29 19:53:50 +08:00
ServerStatusPanelBuilder.cs Add icon banner display option and refactor startup banner logic 2026-03-31 00:03:29 +08:00
SlotViewModel.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
TabListOverlay.cs Added a /tab command 2026-04-04 16:17:49 +02:00
TuiConsoleBackend.cs Implement startup state management and enhance configuration loading 2026-03-27 00:30:52 +08:00
TuiTooltipService.cs Add tooltip service and integrate with MinimapControl 2026-03-29 19:53:50 +08:00