Skip to content

AdvancedChatHUD 1.21.11 v2.0 - Chat Interaction Fixes

Choose a tag to compare

@ThePro1604 ThePro1604 released this 02 Apr 11:48
· 3 commits to main since this release

AdvancedChatHUD 1.21.11 - Chat Interaction Fixes

πŸŽ‰ What's New

Click Events

  • Fixed command execution: Clicking on RUN_COMMAND links now properly executes commands and closes the chat screen
  • Fixed URL links: Clicking on OPEN_URL links now correctly opens them in your default browser
  • Fixed screenshot links: Clicking on screenshot notifications (F2) now opens the image in your default image viewer instead of a browser
  • Improved compatibility: Used reflection to handle obfuscated Yarn mappings for Minecraft 1.21.11

Hover Tooltips

  • Restored hover functionality: Hovering over chat messages now displays tooltips again
  • Preserved formatting: All text colors, bold, italic, and other formatting are now preserved in tooltips
  • Multi-line support: Tooltips with multiple lines now display correctly with proper line breaks
  • Item tooltips: Items shared via plugins like InteractiveChat now show proper item tooltips with all details
  • Works everywhere: Hover tooltips now work both in the chat screen and on the HUD overlay

πŸ”§ Technical Changes

  • Added getTextIgnoreFocus() method to ChatWindow for detecting hover events without requiring chat focus
  • Added onRenderGameOverlayPost() hook to WindowManager for rendering tooltips on the game overlay
  • Implemented reflection-based accessor detection for obfuscated record components (comp_3506, comp_3505, comp_3510, comp_3509)
  • Implemented recursive Text traversal to properly split formatted text by newlines while preserving all Style objects
  • Updated click event handling to support both URI and String return types
  • Added workaround for corrupted screenshot URIs that get transformed to https:// instead of file://

πŸ› Bug Fixes

  • Fixed chat clicks doing nothing on 1.21.11
  • Fixed hover tooltips not appearing
  • Fixed hover tooltips losing color formatting
  • Fixed multi-line tooltips displaying on a single line
  • Fixed URL click events not extracting the URI correctly
  • Fixed screenshot notifications opening in browser instead of image viewer

πŸ“¦ Installation

  1. Download the latest JAR from the releases page
  2. Place it in your .minecraft/mods folder
  3. Restart Minecraft

βš™οΈ Requirements

  • Minecraft 1.21.11
  • Fabric Loader 0.18.5+
  • Fabric API 0.141.3+
  • MaLiLib 1.21.11-0.27.7

Full Changelog: fb42126...e2035bc