A client-side fabric mod which allows you to find stronghold with only one Eye of Ender.
A client-side fabric mod which allows you to find stronghold with only one Eye of Ender.
Inspired by Simple Stronghold Finder, fixed some bugs and rewritten in Kotlin.
The name of this module is inspired by the ancient Chinese legend of a sage pointing the way.
本模组名称灵感来源于中国古代仙人指路传说。
This tool leverages the behavior of the Eye of Ender in Minecraft Java Edition to locate strongholds efficiently with only one throw of the Eye of Ender. Strongholds in Minecraft generate in rings around the world origin (X=0, Z=0). The locations follow a specific pattern, with a fixed number of strongholds per ring and distributed roughly evenly around the ring.
There are 8 rings containing a total of 128 strongholds. Below is a breakdown of the stronghold distribution:
| Ring | Number of Strongholds | Distance from Origin (blocks) |
|---|---|---|
| 1 | 3 | 1,280–2,816 |
| 2 | 6 | 4,352–5,888 |
| 3 | 10 | 7,424–8,960 |
| 4 | 15 | 10,496–12,032 |
| 5 | 21 | 13,568–15,104 |
| 6 | 28 | 16,640–18,176 |
| 7 | 36 | 19,712–21,248 |
| 8 | 9 | 22,784–24,320 |
This implementation calculates the intersection of the Eye of Ender’s trajectory with the stronghold rings using simple geometric principles. Here is how the process works:
Recording Eye Movement:
pos1 and pos2) of the Eye of Ender during its flight. These positions are recorded with a delay to ensure that the trajectory is properly traced.Adjusting Coordinates:
Calculating the Trajectory:
Finding the Ring:
The tool calculates the radial distance of each potential intersection point from the origin
It checks whether the distance falls within one of the predefined stronghold rings. The distance ranges for each ring are carefully defined.
Aligning to Minecraft Grid:
Evaluating Accuracy:
Sorting and Displaying Results: