The_DarthMoogle Posted November 11, 2012 Posted November 11, 2012 Okay. I wanna find strongholds so bad but I only got two eyes of ender. How do? Like this. Imagine from birds-eye-view that the Minecraft world is a big graph of X and Y. Oh wait, it is. So for all subsequent coordinate geometry, use the X and Z values given to you within Minecraft. I will refer to Z as Y. Let A be the point at which an Eye of Ender is thrown, and let B be the point at which it lands. Do this two times, on level ground. Let D be the distance between A1 and A2 Let S mark the spot where your stronghold is. Let vectors V1=B1-A1 V2=B2-A2 and D=A2-A1 We seek S, where the relationship can be defined as S=A1+k1V1 where k1 is unknown. We can substitute to give us A1+k1V1=A2+k2V2 Therefore D=[V1V2][k1,k2] Now it gets tricky. [V1xV2x,V1yV2y]x[k1,k2]=[A2x-A1x,A2y-A1y] so we can find k1 k1=(A2x-A1x)V2y-(A2y-A1y)V2x / V1xV2y-V1yV2x now we can dump that into our original X equation to get our solution! S=A1+{(DxV2y-DyV2x) / (V1xV2y-V1yV2x)}V1 It's late, so I won't be going through the trigonometry required to locate the other two strongholds quite yet, so stay tuned! (The moral of the story, I really needed a bloody subscript button on the Rich Text editor)
Lothos Posted November 11, 2012 Posted November 11, 2012 AIIIIIIIIIIIIIIIIIIIIIIIYEEEEEEEEEEEEYEYEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!! the maths...it hurts me eyes!!!!!!!!!!!!!!!!!!!!!!!!!
The_DarthMoogle Posted November 11, 2012 Author Posted November 11, 2012 AIIIIIIIIIIIIIIIIIIIIIIIYEEEEEEEEEEEEYEYEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!! the maths...it hurts me eyes!!!!!!!!!!!!!!!!!!!!!!!!! Yes. It is rather intense, isn't it.
Hushful Posted November 11, 2012 Posted November 11, 2012 Or spawn in the eyes and spam them like crazy until you find one...
charcharmunro Posted November 11, 2012 Posted November 11, 2012 Should also have some conditionals in there that 640 < S < 1152.
Lear85 Posted November 12, 2012 Posted November 12, 2012 Anyone wanna put this in terms that aren't so... Painful?
racingpro Posted November 12, 2012 Posted November 12, 2012 Why? It's only vectors and algebra. And some trig, if Moogle finises it. Not that hard.
Lear85 Posted November 12, 2012 Posted November 12, 2012 Yes, but it's also 11:58 pm, so everything that requires use of the brain is a lost cause.
The_DarthMoogle Posted November 12, 2012 Author Posted November 12, 2012 Why? It's only vectors and algebra. And some trig, if Moogle finises it. Not that hard. Now consider both the average mental age and actual age demographic of this forum.
racingpro Posted November 12, 2012 Posted November 12, 2012 I blame them for not being old enough to know it. Although I will admit that I hate trig, but I can still do it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now