DuraDisplay
6 merged pull requests.
New Features
- #23 Introduced OverlayContainer class to display X/Y stack counts; integrated with Forestry backpack detection; added config flag ShowFullness. - @querns
- Added: container overlay, OverlayContainer, Forestry backpack display
Bug Fixes
- #28 Updated ConfigLoad to parse enum values case-insensitively when reading config files. - @Caedis
- Fixed: case-sensitive enum parsing
- #24 Added a Mods utility with isLoaded checks. OverlayCharge, OverlayContainer, OverlayDurability, OverlayGadgets and OverlayPotionBrew now wrap addHandler calls in Mods.X.isLoaded() checks, avoiding NoClassDefFoundError on classes like ic2.api.item.ElectricItem. - @system64MC
- Fixed: NoClassDefFoundError for IC2 classes when IC2 is not installed
Performance
- #30 TextRenderer.Render wraps the five drawString calls (four black outline offsets plus the colored text) in an Angelica FontRendererAccessor beginBatch/endBatch pair, gated on Loader.isModLoaded("angelica"). Adds Angelica 2.2.8 as a compileOnly dependency. - @boubou19
- #29 Adds a per item+meta cache in OverlayGadgets via isAllowListed, inlines getColor/getValue into getRenderer with a switch, simplifies the renderers and removes the glScalef(2,2,2) call from TextRenderer.Render. Also bumps the settings convention plugin to 2.0.29 and trims dependencies.gradle. - @Caedis
- Added: per item and meta cache for gadget overlays
- #25 Reuses renderer and DurabilityLikeInfo instances through a factory, caches handler lookups per item class, and uses a static DecimalFormat instead of String.format. Format enum constants are renamed to upper case, and the Gradle and settings plugin versions are bumped. - @Caedis
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@Caedis (5), @boubou19 (2), @Alexdoru (1), @MalTeeez (1), @MassAnarchyy (1), @querns (1), @system64MC (1), @UltraProdigy (1)