A simple CLI tool for triangulating strongholds in Minecraft using two Eye of Ender throws!
- Accurately computes the stronghold location from two throw co-ordinates and 'facing' angles
- Supports Linux, Windows , and MacOS
- Fast and lightweight (written in Rust)
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envClone the repository and install:
git clone https://github.com/emmalt3/triangulateStronghold-CLI.git
cd triangulateStronghold-CLI
cargo install --path .Run the CLI tool:
$ triangulateStrongholdInstall Rust: Download and install Rustup
In a PowerShell terminal, run:
cargo install --git https://github.com/emmalt3/triangulateStronghold-CLI.gitRun the CLI tool:
$ triangulateStrongholdWhen run, you will be prompted to enter two sets of Eye of Ender throw data:
-
Stand in your first location and throw an Eye of Ender
- Record your X and Z co-ordinates, as well as the angle (theta) from the 'Facing' line on your F3 debug screen
-
Move to a new location and repeat
-
Enter the data when prompted by the CLI tool
Example Usage:
$ triangulateStronghold
input x1, z1, theta1:
> 3500 4600 60
input x2, z2, theta2:
> 3192 5067 78
stronghold triangulated at: x = 2399, z = 5235Want to improve this tool? Contributions are welcome!
-
Fork the repo
-
Make your changes
-
Submit a pull request
This project is licensed under the Apache License 2.0
See the LICENSE file for details