Giter Site home page Giter Site logo

alanthebenign / minecraft-stronghold-finder Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 2.43 MB

That's a code in Python that helps speedrunners to find the Stronghold the fastest way.

License: MIT License

Python 23.95% JavaScript 26.87% HTML 49.18%
minecraft-stronghold-finder stronghold-location stronghold ender-eyes eyes-of-ender minecraft speedrun

minecraft-stronghold-finder's Introduction

Minecraft Stronghold Finder

That's a Python algorithm that helps speedrunners to find the Stronghold the fastest way.

What is it about?

This code uses Minecraft in-game information and, with geometry, calculates the best location to throw the eyes of ender to (always) find the stronghold position. We could, theoretically, find the stronghold position using only two eyes of ender, but this method requires the player to go to such locations that, to be precise enough and spend less time, it would need to know the stronghold location itself to find a good spot to throw the second eye of ender (or go to far away, spending even more time), what is in itself a kind of a paradox. So, this program requires three eyes of ender throws to find the exactly stronghold location.

More details about the math: PDF File

Using it:

Let's go!

How to use it?

It's very simple to use!

First of all, throw an eye of ender in any location (assuming that the player is looking for a stronghold in the first stronghold generation ring [1408-2688 blocks away from the origin], which is true in a "good" speedrun) and look directly at it.

tutorial10

Then, press F3+C (WARNING: DO NOT PRESS IT FOR TO LONG, BECAUSE IF YOU DO SO MINECRAFT WILL CRASH [isn't that dumb to put two commands completelly different in the same hotkeys?]).

tutorial11

Thereby, the information about the player's position and direction it is looking is now on the clipboard, this is the program's first input, the program only accepts this data format. Then, paste it at the program's first text box (CTRL+V) and click on the "Calculate Second Throw Position Button" (EXAMPLE: /execute in minecraft:overworld run tp @s 158.49 71.00 -306.67 -540.90 10.50).

tutorial1

tutorial2

tutorial3

tutorial4

The program now informs the player what are the best position's coordenates to do the second eye of ender throw. Arriving at the indicated position and throwing the second eye of ender, the player must do the same process said before and paste again in the program.

tutorial5

tutorial6

tutorial7

tutorial8

So, the program informs another point's coordenates, arriving there, the player must throw a third eye of ender and it will, for sure, fly down directly to the stronghold location. Now just dig down and good luck!

minecraft-stronghold-finder's People

Contributors

alanthebenign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

minecraft-stronghold-finder's Issues

request Second throw position coordinate

When I input the first throw, it shows me where should I go to get a second throw. Couldn't it just give me the coordinate and let me go to the exact position? It basically told me to go 27 blocks perpendicular to the throw direction, and told me to sprint for 4 seconds. I mean it's very good code, but I was in the ocean, I was in the boat, it's harder to count the blocks rather than go to the exact position. Even if It's not in the ocean, it's still hard to count 27 blocks if you are on a mountain or tree or smth. My suggestion is to still preserve the second throw guideline but add a second throw coordinate to help player to identify it just in case. (sometimes player will roam a bit and deviate to the original line)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.