The end portal triangulator is an application for Minecraft players to calculate the position of an end portal using two consecutive throws of an ender pearl. The position is calculated using linear algebra and a Monte Carlo simulation is used to estimate the uncertainty. A full discussion can be found in the paper in docs/paper/triangulation.pdf.
The web app can be found in the src folder of the repository. It does not need to be installed.
To run the app simply open triangulate.html in a web browser. JavaScript needs to be enabled.
The application pulls the dependencies of Plotly and math.js from the internet, therefore a connection is required.
Alternatively you can visit the online version hosted on GitHub Pages.
Two eyes of ender are required for triangulation.
When the player is far from the stronghold the estimation accuracy may be insufficient. A “line shape” may appear in the histogram. Then optionally:
Advanced Options:
Two pearl throws were recorded:
| Throw | x | z | Angle $\theta$ |
|---|---|---|---|
| 1 | 10 | 33 | -38.2° |
| 2 | 119 | 19 | -34.7° |
The following uncertainties were used: $\Delta x = \Delta z = 0.5$ and $\Delta \theta = 0.1°$. The calculated position of the stronghold is X | Z –|– 998.5±38.5 | 1289.2±52.2

This project was published on the TMC Research Papers Discord Server