Eye Cross
Eye Cross 是一款纯客户端 Fabric 模组:它会自动记录末影之眼的飞行轨迹,将每条轨迹拟合为直线,并计算两条或多条直线的最小二乘交点。投掷两只眼睛即可得到要塞坐标。仅投掷一只眼睛也有用:结合 Java 版要塞环分布(以原点 0,0 为中心的 8 个环,共 128 个要塞)与投掷方向,它可以立即提供一个大致的坐标和误差范围。
快速开始
所需模组: Fabric Loader + Fabric API
集成模组: Xaero's Minimap(≥26.2.0,用于信标点集成)
- 安装模组并进入主世界。
- 投掷一个末影之眼——当它破碎或掉落时,模组会自动记录其飞行轨迹,并基于要塞环给出估算结果:“哪个环 + 大致坐标 + 误差范围”。
- 移动一段距离,使第二次投掷的方向不同,然后投掷另一个眼睛以获得精确的交点。
- 聊天栏会显示要塞坐标和误差。点击
[Click to teleport] 即可一键执行 /tp @s X ~ Z。
投掷次数越多,精度越高(最多保留最近 12 条轨迹)。在获得精确交点后,世界中的估计位置会出现类似信标的射线;如果仅投掷了一只眼睛且有估算值,世界中会用水平圆环标记出大致区域。如果目标超出渲染距离,你面前会出现一个指向要塞的箭头。
Xaero 集成: 如果安装了 Xaero's Minimap(≥26.2.0),每次获得精确解后,模组会自动将要塞坐标作为信标点添加到小地图/世界地图/信标点菜单中(固定名称 Stronghold(EC),绿色 “S” 标记,使用相同 ID 重复覆盖并更新)。如果未安装或版本过旧,则自动跳过此步骤,且绝不影响估算等核心功能。
工作原理
- 采样:每个客户端刻记录飞行中末影之眼实体的 (x, z) 位置。
- 单次投掷估算:每个世界恰好有 128 个要塞,分布在以原点 (0,0) 为中心的 8 个环上(第 1 环有 3 个,半径 1239–2857 格……第 8 环有 9 个,半径 22742–24362 格)。末影之眼飞向最近的要塞,因此投掷射线会与这 8 个环相交,取第一个穿过的环——该区间的中心点即为估计点,区间半宽加上投掷角度噪声构成误差范围。
- 拟合:对整条轨迹应用总最小二乘法(PCA)以获得一条直线。
- 求交:对于所有直线,最小化点到直线的距离平方和,并求解 2×2 正规方程。如果两条直线之间的夹角小于 2°,则视为几乎平行,系统会提示你移动位置并重试。
命令
| 命令 |
描述 |
/eyecross help |
命令使用说明(所有 /eyecross 子命令) |
/eyecross status |
每条轨迹的详情以及当前解/估算值(坐标可点击传送) |
/eyecross rings |
列出要塞环分布表(每环的数量和半径范围) |
/eyecross reset |
清除所有轨迹并重新开始记录 |
/eyecross hud |
显示 / 隐藏 HUD |
/eyecross hudpos topleft|topright|bottomleft|bottomright |
将 HUD 移动到屏幕左上角 / 右上角 / 左下角 / 右下角 |
版本支持
| 分支 |
Minecraft |
Fabric Loader |
Fabric API |
构建产物 |
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 |
许可
MIT © RSPqfgn
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧