Skip to content

ChromaticTooltips ​

12 merged pull requests.

New Features ​

  • #11 Extended TooltipLines.java to support multi-component lines, updated InlineComponent and ComponentRegistry to handle the new format. - @slprime
    • Added: multi-component line support
  • #7 Modified ModInfoEnricher to restore default F3+H behavior and expose configuration options for controlling item string ID display and appearance. - @C0bra5
    • Added: F3+H item string ID display, configuration options for item ID visibility and formatting
  • #3 Adds ThemeManager, which takes over theme loading from TooltipHandler and reads theme files from resource packs through access-transformed resource manager fields. Adds the enabledResourcePackThemes config, reloads blacklist patterns and themes on config change, and bumps GTNHLib to 0.9.54. - @slprime
    • Added: theme inheritance, ResourcePack Themes config option

Changes ​

  • #12 EnricherConfig boolean fields such as hotkeysEnabled are replaced by EnricherVisibility enum fields (OFF, ALWAYS, EXTENDED) with DefaultEnum ALWAYS. Callers use isEnabled(), which checks gameSettings.advancedItemTooltips for EXTENDED. ItemInfoEnricher caches the advanced flag. Adds a lang entry. - @slprime
    • Added: EXTENDED visibility option for tooltip enrichers
  • #8 Changed throttling interval in TooltipHandler.java to reduce delay between tooltip updates. - @slprime
  • #4 Updated language files (cs_CZ, en_US, zh_CN) to set mod name color formatting to italic blue. - @slprime

Bug Fixes ​

  • #14 TitleEnricher.getAdvancedInfo(FluidStack) uses FluidRegistry.getFluidID instead of the GameData block registry lookup, and treats 0 as the empty case instead of -1. - @slprime
    • Fixed: Wrong fluid ID in advanced tooltips
  • #13 TooltipRenderer.drawContent only re-enables GL_DEPTH_TEST if it was on before. TooltipRenderUtils.drawIcon now saves and restores the depth test state after popping attributes. - @slprime
  • #10 ItemStackFilterParser.getStringIdentifierFilter now resolves the item name through GameRegistry.findUniqueIdentifierFor, falling back to the GameData item registry. It also uses the ItemStack's item rather than the stack itself. - @slprime
    • Fixed: Mod and resource filter not matching items
  • #6 Updated ItemStatsEnricher.java to correctly calculate and display item durability. - @slprime
    • Fixed: durability info display
  • #5 Corrected ItemInfoEnricher and TitleEnricher to properly handle and display item display names. - @slprime
    • Fixed: item display name rendering

Internal / Refactor ​

  • #9 ComponentRegistry now keeps a temporary ring buffer (prefix §z) and a permanent map (prefix §Z) with addTemporary and addPermanent. TooltipHandler gains getPermanentId and getComponentRegistry, and token parsing moves into the registry. - @slprime
    • Added: permanent component registry

Contributors ​

Everyone who authored, reviewed or co-authored a change on this page, with how many of them:

@slprime (12), @C0bra5 (1), @Dream-Master (1)