Minecraft: Java Edition Forum  /  Minecraft Stronghold Finder
  Alan_o_BenignoAlan_o_Benigno

Hello, Speedy Friends!

Recently, I was working on a algorithm to help me to find a Stronghold in Minecraft during a speedrun [Any% Glitchless, 1.9+, Random Seed] in the least amount of time. So... I did it, and now I want to share with all of you!!!

Actually, I'm still testing it, but I think it's done.

Visit my GitHub repository to see more details and to use the program.

https://github.com/AlantheBenign/Minecraft-Stronghold-Finder

Feel free to send me your feedback! Any sugestion is welcome!

komakoma, SilverRTASilverRTA and Phaze_0Phaze_0 like this. 
  komakoma

hey,congrats!this is really great

Alan_o_BenignoAlan_o_Benigno likes this. 
  ZeyaTsuZeyaTsu

but its not allowed ?

Alan_o_BenignoAlan_o_Benigno likes this. 
  luckytyphlosionluckytyphlosion

1. can you license it as open source so others can modify it?
2. is there a way to configure it so it only takes the intersection of 2 throws
3. how is the second throw location calculated?

Alan_o_BenignoAlan_o_Benigno likes this. 
  Alan_o_BenignoAlan_o_Benigno

@luckytyphlosionluckytyphlosion I think you can answer @ZeyaTsuZeyaTsu for me hahahaha.
But, I think it should be allowed, since it's just math and the player must throw the Eyes of Ender anyway.

And, @luckytyphlosionluckytyphlosion:
1. Isn't it open source yet? Can't you go to my repository and download the files? If the answer is no, I will fix it.
2. I think so, but since you need to go too far away from the first throw location (or to be very close to the actual Stronghold position, what is contradictory) to throw the second eye, it's not that useful. Because Minecraft angles are not as precise as we would need to find the Stronghold exact location with only two Eye throws in a normal Speedrun. I think I did described it in the PDF file there in the repository. (If I wasn't clear enough, say it hahahah)
3. It is explained in the PDF file in the repository, but what the algorithm, basically, does is: it calculates where the stronghold can start been generated in the world (in the direction the player is looking at the first eye throw) and informs that point's coords, so moving 42 blocks perpendicularly to this position and throwing the second Eye (this amount of blocks was calculated by another program of mine), we can ensure that the intersection of both lines made by the Eye's throw will be in a place where it's ensure that the player will throw an third one and it will fly down, because it's close enough from the Stronghold position to show the player that Stronghold's position.
Was this explanation good? hahaha

 
  luckytyphlosionluckytyphlosion

it is open source, but you should add a license like MIT to legally make it (free and) open source. A file named LICENSE with the following text would suffice (obviously replace year and copyright holder).

Copyright <YEAR> <COPYRIGHT HOLDER>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

also, I didn't know the pdf had detailed information on the process, so I'll check that out. original strongholdfinder's 2nd throw location is only 500 blocks away from the first throw (at an angle), so you can possibly use that. finding the exact point of the stronghold isn't as useful because the eye leads to the starting staircase anyway, so you're really only trying to intersect the stronghold.

Alan_o_BenignoAlan_o_Benigno likes this. 
  Alan_o_BenignoAlan_o_Benigno

Thanks @luckytyphlosionluckytyphlosion, I had just created the LICESNSE document.

This second throw, I did in certain way to minimize the amount of distance travelled by the player, so the far the player goes from the first throw (closer it gets from the Stronghold), the least amount of distance it needs to travel in this certain angle. (I need images to try to explain it better hahahahah).

Btw, @luckytyphlosionluckytyphlosion, is this algorithm allowed? hahahahah

 
  luckytyphlosionluckytyphlosion

yeah, people have used http://strongholdfinder.com in the past, as well as a modified version of the html that I created to support F3+C commands.

Alan_o_BenignoAlan_o_Benigno likes this.