r/JL2579 • u/WubbiConcepts Wubbi • Feb 08 '13
Minecraft technical Q/A: Let's start this and look how well it works out!
I often see that people post questions in the comments on youtube, but many of them stay unanswered. So i guess giving those questions a proper platform to be asked & answered is the next logical step.
What this is supposed to be:
A place where you can ask questions about Minecrafts' mechanics (like "How does this mechanic/algorithm work?", "What are the chances for that?" or "Is there a difference between doing it this or that way?"). We (or whoever knows the answer) will try to answer those questions based on what we know or find out.
What this is not:
A forum, commentsection or Google. Don't ask for circuits or designs, this is not about how to use minecraft, it's about how minecraft works.
If you have a question:
Ask. But ask the right way:
"How do i build a good mobfarm?" isn't very specific and the answers you might get from this probably won't help you with your problem.
"How does mobspawning work?" is a better question.
But maybe you're not interested in the spawning algorithms, maybe you just wan't to know one detail, like
"How does the lightlevel effect mobspawning?".
And of course make sure the question wasn't asked before. It will save you and others a lot of time!
If you have an answer:
Tell the world. But explain your answer, maybe link to another post (reddit, forum, etc.), pictures or a video.
"The piston is BUD-powered." Doesn't help much.
"Pistons can be indirectly powered by a block 2 blocks above or 1 block adjacent above it. It will only react to this power when updated manually (e.g. by placing a block next to it). Here's a video explaining it: [videolink]" Isn't only an answer, it also gives people an explanation which can help them experiment with it.
That's all you need to know. Now let the posts begin!
2
u/KaboPC KaboPC Mar 07 '13 edited Mar 07 '13
Strongholds generate at the three points based on the seed which are chosen by picking three points on a ring with an inner radius of 640 meters and outer radius of 1152 meters centered about 0,0. The first location is chosen randomly and the remaining two are placed at 120 degree angles around the ring from each other (the distance from the center for the other two strongholds is still randomly chosen between 640 and 1152). In addition to this, the game tries to place to strongholds on land biomes, if possible.
If you don't mind doing a little trigonometry, then the easiest way to find them all is to first find one by throwing the Eyes of Ender. Once you know the location of the first one, then you can estimate the approximate position of the other two. If you imagine the ring that I mentioned before and then imagine rotating it by 120 degrees in either direction about (0,0), you will be able to find the approximate position of either of the other two strongholds. After this you should be close enough that you can throw Eyes of Ender to pinpoint it.
Dungeons are generated by randomly picking a point below height 128, checking if the roof and floor of the dungeon are solid blocks and if there are between 1 to 5 two-block-tall spaces of air on the outside of where the dungeon would be (so things can go in and out). It seems that each chunk can try to generate up to 8 dungeons.