Navigator
9 merged pull requests.
New Features
- #20 Expanded public API with collection-backed locations, explicit cache invalidation, and retained overlay refresh. Added native JourneyMap 6 marker, image, and polygon overlay support through new draw step and renderer interfaces. Created
LayerRefreshEventfor overlay cache control. Improved rendering with zoom-aware labels/icons. Marked JourneyMap 5 rendering API as deprecated. - @Algent- Added: JourneyMap 6 integration system, LayerRefreshEvent for overlay cache management, JMRenderStep and JMInteractableStep interfaces, JMLayerRenderer and JMInteractableLayerRenderer implementations, Zoom-aware label and icon rendering, InteractableLayer model for clickable overlays, Collection-backed location management, API documentation in docs/API.md
- #17 Added
NEISearchFormatterutility class andFormattedTextFieldto support NEI-style colored filter rendering in the search bar. UpdatedSearchBarandUtilto integrate NEI filter color detection. NEI is an optional soft dependency. - @Algent- Added: NEI-style colored filter rendering, FormattedTextField class for formatted text rendering, NEISearchFormatter utility for color detection
Bug Fixes
- #22 FullscreenMixin records the vanilla map type toolbar width and adds a ModifyArg on layoutToolbars that shifts the centerX passed to layoutCenteredHorizontal by half the width difference. - @Algent
- Fixed: JourneyMap GUI scale bug with off-center toolbar
- Closes GTNH#26486
- #21 MapMarker's atlas sprite constructor now trims an 8 pixel border from the source region when the sprite uses anisotropic filtering. A new client mixin accessor, TextureAtlasSpriteAccessor, reads the useAnisotropicFiltering field. - @Algent
- Fixed: Atlas padding issues with texture filtering enabled
- #19 FullscreenMixin shadows buttonTopo and adds it to the rebuilt map type ButtonList between caves and night. - @Eldrinn-Elantey
- Fixed: Missing Topo button on JourneyMap fullscreen map
- #18 Added JourneyMapVersion, which detects V5 or V6 by class presence, and Util.isJourneyMapV5Installed and isJourneyMapV6Installed. NavigatorApi, SupportedMods and the JourneyMap mixins now only apply for V5. Also bumped GTNHLib, NEI and the build plugin, and added the JourneyMap API Maven repository. - @Algent
- Added: JourneyMap version detection
- Fixed: crash with JourneyMap 6 installed
- #16 Moved updateCursorCounter() out of the drawScreen inject in FullscreenMixin into a new updateScreen inject, so it runs once per tick instead of once per frame. - @Eldrinn-Elantey
- Fixed: Search bar cursor blinking too fast
- #14 Added a surgical mixin to
RenderWaypointBeaconMixinusing@ModifyVariablewith a static flag to overridefadeAlphato 1.0 only during Navigator waypoint rendering, preserving normal JourneyMap fade behavior. - @Eldrinn-Elantey- Fixed: Navigator waypoints invisible due to fade effect
- #13 RenderWaypointBeaconMixin now targets renderAll(F)V, where the WaypointStore.instance() invoke exists, and takes a float partialTicks argument. The @Mixin also sets remap = false. - @Eldrinn-Elantey
- Fixed: Mixin injection failure in JourneyMap RenderWaypointBeacon
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@Algent (6), @Eldrinn-Elantey (4), @Lyfts (2), @boubou19 (1), @Dream-Master (1), @Kogepan229 (1), @sisyphussy (1), @tiffit (1), @UltraProdigy (1), @Worive (1)