Eye Cross

Eye Cross

Throw two Eyes of Ender, and where the two fitted lines intersect, you get the Stronghold coordinates directly.

Eye Cross

Minecraft 26.1.2 Fabric Loader 0.19.3+ MIT


Eye Cross is a pure-client Fabric mod that automatically records the flight path of Eyes of Ender, fits each trajectory to a line, and computes the least‑squares intersection of two or more lines. Throw just two eyes and get the Stronghold coordinates.

Quick Start

  1. Install the mod and enter the Overworld.
  2. Throw an Eye of Ender – when it breaks or despawns, its flight trajectory is automatically recorded.
  3. Move some distance away (so the second throw heads in a different direction) and throw another eye.
  4. The chat will display the Stronghold coordinates and an error estimate. Click [Click to teleport] to instantly execute /tp @s X ~ Z.

More throws yield better accuracy (up to the latest 12 trajectories are kept). A marker appears at the estimated location in the world; if the target is beyond render distance, an arrow pointing to the Stronghold will appear in front of you.

How it works

  • Sampling: every client tick records the Eye entity’s (x, z) position.
  • Fitting: total least squares (PCA) is applied to each full trajectory to obtain a line.
  • Intersection: minimise the sum of squared distances from all lines to the intersection point, solving a 2×2 normal equation. If the angle between two lines is less than 2°, they are considered nearly parallel – you are prompted to move and retry.

Commands

Command Description
/eyecross help Usage instructions
/eyecross status Details of each trajectory and the computed solution (coordinates are clickable to teleport)
/eyecross reset Clear all trajectories and restart recording
/eyecross hud Show / hide the HUD indicator in the top‑left corner

License

MIT © RSPqfgn