waila
30 merged pull requests.
New Features
- #73 Implemented TTRenderBar as a generalised progress bar renderer; updated HUDHandlerFurnace to use the new bar; added TTRenderProgressBar interface; extended TTRenderStack. - @evgengoldwar
- Added: TTRenderBar unified progress bar renderer, TTRenderProgressBar interface
- #69 Enhanced TTRenderFluidBar to check and apply fluid colours from vanilla and mod-specific sources using FluidStack colour properties. - @C0bra5
- Added: fluid color compatibility for non-GT5u mods
- #63 Implemented WailaGuiFactory.java and registered it in Waila.java to provide config screen integration with the mod menu. - @JackOfNoneTrades
- Added: GUI config factory, mod menu integration
- #58 Extended TTRenderStack.java with additional methods to render smaller item icons; updated dependencies. - @evgengoldwar
- Added: small icon variant for TTRenderStack
- #55 Implemented
TTRenderRFBarcustom line renderer and updatedHUDHandlerIEnergyHandlerto use progress bar formatting. Modified Thermal Expansion handlers to support the new renderer. - @MalTeeez- Added: TTRenderRFBar renderer, RF energy progress bars, rf_energy_bar.png texture
- #51 Enhanced
TTRenderFluidBarto handle empty tank rendering. Added test dependencies todependencies.gradlefor development. - @MalTeeez- Added: empty tank rendering in fluid bars
- #43 Implemented
TTRenderFluidBarrenderer using the variable-width renderer API from #42. Changed tooltip renderer string format separator from comma to a special character to avoid conflicts with formatted fluid names. - @SuperSoupr- Added: TTRenderFluidBar renderer, fancy fluid bar display
- #42 New interface IWailaVariableWidthTooltipRenderer with setMaxStringW and getMaxStringW. Tooltip.computeRenderables calls setMaxStringW(maxStringW) on renderers that implement it. - @SuperSoupr
- Added: IWailaVariableWidthTooltipRenderer
- #41 Implemented
TTRenderAspectStringcustom line renderer and registered it inThaumcraftModuleto render aspect icons alongside aspect text. - @SuperSoupr- Added: Thaumcraft aspect icon rendering, TTRenderAspectString renderer
- #40 Created
GadomancyModuleand integrated it into Waila's Thaumcraft addon to detect and display aspect information when the enchant is active. - @SuperSoupr- Added: Gadomancy Thaumic Sight enchant support, GadomancyModule
Changes
- #74 Added utils.ColorUtils with four ColorResource entries (fuelFurnaceBarTop/Bottom, progressBarTop/Bottom) used by HUDHandlerFurnace. GTNHLib bumped from 0.9.54 to 0.11.37. - @evgengoldwar
- Added: ColorUtils color resources
- #71 Updated TTRenderFluidBar and TTRenderRFBar with new length values; created DisplayUtil with shared bar calculation methods to eliminate duplication. - @SuperSoupr
- Added: DisplayUtil utility class
- Removed: duplicated bar methods
- #70 Corrected language string in en_US.lang for comparator mode naming. - @flamingowrangler2869
- Fixed: comparator mode spelling
- #64 Updated ButtonBase with new rendering logic for 9-slice atlas rendering and text shadow support; simplified ButtonBooleanConfig variants to use base class functionality; added shadow option to LabelFixedFont. - @Ranzuu
- Added: text shadow rendering for buttons, 9-slice button rendering
- Fixed: button atlas rendering
- #59 Tank handlers now call NumberFormatUtil.formatNumber and formatFluid instead of NumberFormatter and ConfigHandler.fluidUnit. GTNHLib moved from compileOnly to api, the GTNH_LIB flag was dropped, and lines were removed from ConfigHandler, ProxyClient and TTRenderFluidBar. - @Connor-Colenso
- Removed: hard-coded fluid unit in tooltips
- #57 NumberFormatter.format calls NumberFormatUtil.formatNumber when GTNHLib is loaded, replacing GTUtility.formatNumbers. Added GTNHLib 0.9.6 as compileOnly, a GTNH_LIB flag in LoadedMods, plus gradle wrapper and settings plugin updates. - @Connor-Colenso
- Added: GTNHLib number formatting
- Removed: GregTech number formatting call
- #49 Modified
TTRenderFluidBarto render a gradient background behind fluid level text, and added a new gradient texture asset. - @SuperSoupr- Added: gradient background to fluid bars, gradient.png texture asset
Bug Fixes
- #75 Adjusted icon Y-coordinate offset in TTRenderStack to render at text level rather than 1 pixel lower. - @evgengoldwar
- Fixed: small icon vertical alignment
- #68 WailaPacketHandler.writeNBT and readNBT now use a 4-byte int length prefix instead of a short, so compressed NBT over 32767 bytes is no longer truncated. The packet format changes, so client and server need the same Waila version. - @Algent
- Fixed: FPS drop and errors when a Witch Spider is on screen, truncated entity NBT in Waila packets
- Closes GTNH#24655
- #66 In TTRenderFluidBar and TTRenderRFBar the fill fraction is now amount / max(capacity, amount), so it cannot exceed 1. - @MalTeeez
- Fixed: fluid and RF bars overflowing the tooltip when amount exceeds capacity
- #65 Refactored DataAccessorFMP, DecoratorFMP, and HUDHandlerFMP to properly manage object lifecycle and prevent memory leaks in FMP-related data access. - @Alexdoru
- Fixed: memory leak in DataAccessorFMP
- #54 Unified fluid handler implementations across modules (
TankFluidHandler,DrumFluidHandler,FluiductFluidHandler). Waila fluid handling is disabled when WailaPlugins is present. EnhancedRailcraftModuleand created newTankFluidHandlerfor Railcraft, fixedThermalDynamicsModulefor fluiducts. - @danyadev- Added: Railcraft tank fluid support, FluiductFluidHandler for Thermal Dynamics, WailaPlugins compatibility check
- Removed: old Railcraft HUDHandlerTank, old ThermalExpansion HUDHandlerTank
- Fixed: fluid display in BuildCraft tanks, fluid display in ExtraUtilities drums, fluid display in OpenBlocks tanks, fluid display in Railcraft tanks, Waila/WailaPlugins conflict
- #47 Added SpecialChars.WailaRendererComma (U+0082) and used it in patternRender and patternLineSplit, and in the args split in DisplayUtil.getDisplayWidth and Tooltip.computeRenderables. Commented out the Plip/Plop test tooltip in HUDHandlerBlocks. - @SuperSoupr
- Added: WailaRendererComma special character
- Fixed: tooltip renderer arguments breaking on fluid names with commas
- #45 Corrected the mod loader detection logic in
TTRenderFluidBarto check for the correct GT mod variant. - @felixfour- Fixed: incorrect GT6 compatibility check
Performance
- #60 Added OverlayRenderer.isOverlayVisible(), which checks currentScreen, theWorld, GUI enabled, the player list key and the showTooltip config. WailaTickHandler.tickClient clears the tooltip and ray trace and returns early when it is false. renderOverlay reuses the same check. - @slprime
- Fixed: tooltip updates running while a GUI is open
Internal / Refactor
- #48 Renamed IWailaDataProvider.hasAdvancedBody to hasWailaAdvancedBody and updated the call in MetaDataProvider. Any addon that overrides the old name will no longer be called. - @Worive
- Removed: hasAdvancedBody
Documentation
- #53 Redeclared getSize in IWailaVariableWidthTooltipRenderer with Javadoc saying to return the minimum width needed and draw the real width with getMaxLineWidth(). - @SuperSoupr
- #52 New README.md explaining that a fork without upstream tags makes Waila think the mod is outdated in a local client run, with the git commands to fetch tags. Added .DS_Store to .gitignore. - @danyadev
- Added: README contribution note
- #44 Added Javadoc to IWailaVariableWidthTooltipRenderer and renamed setMaxStringW/getMaxStringW to setMaxLineWidth/getMaxLineWidth, with Tooltip updated to match. Addons that implemented the earlier method names must rename them. - @SuperSoupr
Chores
- #62 dependencies.gradle: curse.maven coordinates for CoFH, Extra Utilities and Thermal mods replaced with deobfCurse(...). - @UltraProdigy
- Fixed: dev environment dependency setup
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@SuperSoupr (12), @Dream-Master (8), @MalTeeez (8), @danyadev (5), @sisyphussy (5), @evgengoldwar (4), @slprime (4), @UltraProdigy (4), @boubou19 (2), @Connor-Colenso (2), @Ranzuu (2), @tiffit (2), @wlhlm (2), @Alexdoru (1), @Algent (1), @C0bra5 (1), @EmperorSuper (1), @felixfour (1), @flamingowrangler2869 (1), @JackOfNoneTrades (1), @OneEyeMaker (1), @RecursivePineapple (1), @VortexSo4 (1), @Worive (1)