Eye Cross
Eye Cross is a pure-client Fabric mod: it automatically records the flight trajectories of Eyes of Ender, fits each trajectory to a straight line, and computes the least-squares intersection of two or more lines. Throw two eyes and you get the Stronghold coordinates. Throwing just one eye is also useful: using the Java Edition Stronghold ring distribution (128 Strongholds, 8 rings centered on the origin 0,0) combined with the throw direction, it immediately provides a rough coordinate and error band.
Quick Start
Required mods: Fabric Loader + Fabric API
Integration mod: Xaero's Minimap (≥26.2.0, for waypoint integration)
- Install the mod and enter the Overworld.
- Throw an Eye of Ender — when it breaks or drops, the mod automatically records its flight trajectory and gives an estimate based on the Stronghold rings: “which ring + rough coordinates + error band”.
- Move some distance away so the second throw heads in a different direction, then throw another eye to get a precise intersection.
- The chat displays the Stronghold coordinates and error. Click
[Click to teleport] to run /tp @s X ~ Z in one click.
The more throws, the better the accuracy (up to the latest 12 trajectories are kept). After a precise intersection, a beacon-like beam appears at the estimated location in the world; when only one eye has been thrown and an estimate is available, a horizontal ring marks the approximate area in the world. If the target is beyond render distance, an arrow pointing to the Stronghold appears in front of you.
Xaero integration: If Xaero's Minimap (≥26.2.0) is installed, after each precise solution the mod automatically adds the Stronghold coordinates as a waypoint to the minimap/world map/waypoint menu (fixed name Stronghold(EC), green “S” marker, repeatedly overwritten and updated with the same ID). If it is not installed or the version is too old, this is skipped automatically and never affects core features such as estimation.
How It Works
- Sampling: every client tick records the (x, z) position of the flying Eye entity.
- Single-throw estimation: each world has exactly 128 Strongholds, distributed across 8 rings centered on the origin (0,0) (ring 1 has 3, radius 1239–2857 blocks … ring 8 has 9, radius 22742–24362 blocks). The Eye of Ender flies toward the nearest Stronghold, so the throw ray is intersected with the 8 rings, and the first ring crossed is taken — the midpoint of the interval is the estimated point, and the interval half-width plus throw-angle noise form the error band.
- Fitting: total least squares (PCA) is applied to the entire trajectory to obtain a straight line.
- Intersection: for all lines, minimise the sum of squared point-to-line distances and solve a 2×2 normal equation. If the angle between two lines is less than 2°, they are considered nearly parallel, and you are prompted to move and retry.
Commands
| Command |
Description |
/eyecross help |
Command usage instructions (all /eyecross subcommands) |
/eyecross status |
Details of each trajectory and the current solution/estimate (coordinates are clickable to teleport) |
/eyecross rings |
List the Stronghold ring distribution table (count and radius range for each ring) |
/eyecross reset |
Clear all trajectories and restart recording |
/eyecross hud |
Show / hide the HUD |
/eyecross hudpos topleft|topright|bottomleft|bottomright |
Move the HUD to the top-left / top-right / bottom-left / bottom-right of the screen |
Version Support
| Branch |
Minecraft |
Fabric Loader |
Fabric API |
Build Artifact |
main |
26.1.2 |
0.19.3 |
0.155.2+26.1.2 |
eye-cross-fabric-1.1.0-26.1.2.jar |
mc-26.2 |
26.2 |
0.19.5 |
0.160.0+26.2 |
eye-cross-fabric-1.1.0-26.2.jar |
License
MIT © RSPqfgn