HomeJavaModsXaeroNav
XaeroNav
XaeroNav — screenshot 1XaeroNav — screenshot 2

game-photo

Overview

This mod adds pathfinding to Xaero's minimap and Xaero's World Map

This mod does not support auto-walking ⚠️

How it works

How to use

Method Action
World map Right-click empty space on the map → "Route here"
Waypoint Right-click a waypoint → "Route here"
Keybind "Route to block looked at" (unbound by default)
Command /xaeronav goto <x> <y> <z>

How-to-use

No matter which method you use, your destination is displayed on Xaero's map, so you'll know where you're headed without following the line to its end. With Xaero's Minimap installed, it's registered as a temporary waypoint: it stays upright as the minimap rotates, moves to the edge with a distance readout once it's off screen, and shows in the world like any other waypoint. It's never saved to disk, and it disappears when you clear the route.

Route colors

Color Meaning
Green Walking
Yellow Climbing up
Blue Climbing/stepping down
Dark blue Swimming
Light cyan Riding a boat
Purple Ladder / vine
Pink Jumping a gap
Orange Digging (target block highlighted through walls)
Cyan Bridging with placed blocks
Red ⚠ Adjacent to lava
Magenta ⚠ Void below
Light blue ⚠ Digging lets water flow in
Reddish pink ⚠ Swim segment with no breath left
Orange-red ⚠ Fall that deals damage
Teal Fall softened by placing water at the last moment (MLG)
Pale orange ⚠ Sneaking across a magma block
Off-white Dotted line for a stretch with no known route (heads toward the unexplored destination)
Amber Coarse waypoint chain for a long-distance route
Red pin The destination, drawn by XaeroNav when Xaero's Minimap is not installed (stays the same size on screen at any zoom)
Sky blue Aerial path while gliding with an elytra

Warning colors take priority over movement-type colors — danger needs to read first.

Commands

Command What it does
/xaeronav goto <x> <y> <z> Set the destination
/xaeronav clear Clear the route
/xaeronav version Print the running build (include this in bug reports)

/xaeronav debug ... holds measurement commands that print numbers to chat without navigating anywhere: mapdata [radiusChunks] (how much of Xaero's map data is available around you), route and corridor (the coarse waypoint chain and its per-leg refinement), probe (what the detailed search reached, and why it stopped), flight (the aerial route), and hooks (whether the Xaero integration is connected, mixin-applied, and actually rendering). They exist to explain a route that came out wrong — attach their output to a bug report.

Known Limitations ⚠️


MIT (LICENSE).

Movement cost baselines are informed by measurements used in Baritone (LGPL), but the code itself is an independent implementation.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

XaeroNav is a free Minecraft Java mod. Compatible with Minecraft 1.21.1. Downloaded 6 times (via Modrinth). Download it and open it directly in the game.

Explore more