Navigator
10 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
Changes
- #18 Added
JourneyMapVersiondetection utility and version checking inMixins.java. Updated mixin application to skip JourneyMap-specific mixins when running with unsupported versions. Updated dependencies and Gradle configuration. - @Algent- Added: JourneyMap version detection system, JourneyMapVersion enum with version constants
- Fixed: Modpack crash when JourneyMap 6 is installed
Bug Fixes
- #22 Updated
FullscreenMixinto add an offset calculation that centers the JM5 top bar and improves default scale handling with many overlays. - @Algent- Fixed: JourneyMap toolbar not centered, Poor GUI scaling with many overlays
- Closes GTNH#26486
- #21 Updated
MapMarkerto account for texture filtering padding when calculating atlas UV coordinates. AddedTextureAtlasSpriteAccessormixin to expose padding information. UpdatedMixins.javato include the new accessor. - @Algent- Added: TextureAtlasSpriteAccessor mixin for padding access
- Fixed: Texture atlas padding issues with filtering enabled
- #19 Updated
FullscreenMixinto re-add the topo button to the map type toolbar alongside the existing caves, night, and day buttons. - @Eldrinn-Elantey- Added: Topo button to map toolbar
- Fixed: Missing topo button on fullscreen map
- #16 Moved
updateCursorCounter()call inFullscreenMixinfromdrawScreen()to a separateupdateScreen()injection to ensure it runs once per tick instead of every frame. - @Eldrinn-Elantey- Fixed: Cursor blinking 3x faster than intended
- #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 Fixed
RenderWaypointBeaconMixinby explicitly specifying the target method signature asrenderAll(F)V, adding thefloat partialTicksparameter to the callback, and settingremap = falseto prevent mapping issues with 3rd-party mod classes. - @Eldrinn-Elantey- Fixed: JourneyMap mixin injection failure on startup
Internal / Refactor
- #12 Migrated
Mixins.javaand related mixin configuration from old system to new IMixins/MixinsBuilder system. UpdatedNavigatorCoreandNavigatorLateMixins. Updated build dependencies and Gradle configuration. - @Alexdoru
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@Algent (6), @Eldrinn-Elantey (4), @boubou19 (2), @Lyfts (2), @Alexdoru (1), @Dream-Master (1), @Kogepan229 (1), @sisyphussy (1), @tiffit (1), @UltraProdigy (1), @Worive (1)