How Portals Work<br />Eric Haines<br />http://vokselia.com<br />5/30/2011<br />
Overworldvs.Nether Coordinates<br />Use F3 to find your coordinates. X is north/south (south is positive), Z is east/west ...
Overworld Portal to Nether<br />Convert the player’s location from Overworld to Nether coordinates.<br />From the Nether X...
If no portal is inside this volume…<br />Then a new portal is spawned close by, in an area large enough to hold it.<br />I...
Overworld to Nether Range<br />Searching from the Overworld into the Nether searches 128 meters in each direction in the N...
Nether Portal to Overworld<br />Uses the same sort of process: find the player’s Nether location in the Overworld and then...
Conclusions<br />To make an unbreakable two-way link between Overworld and Nether portals, build them at the exactly the s...
Upcoming SlideShare
Loading in …5
×

How Portals Work in Minecraft

57,600 views

Published on

The basics of how portals link to each other.

Credit to figuring out the algorithm goes to pudquick: bit.ly/MCPortals

Published in: Technology, Travel
3 Comments
3 Likes
Statistics
Notes
  • download this amazing full version 100% working and virus proof file without any survey from below link. just download it and enjoy.
    download from here:- http://gg.gg/h26m
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • fyi
    X is east/west (east is positive),
    Z is north/south (south is positive)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Addendum: there’s some good information about spawned Nether portals here, http://www.minecraftforum.net/topic/345806-nether-portal-science/. Some confusing bits, it took me awhile to decipher what he meant by 'exclusion zone' (it's merely the volumes of space where, if you build in them, you break the connection between two portals), but you might find it of interest.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
57,600
On SlideShare
0
From Embeds
0
Number of Embeds
358
Actions
Shares
0
Downloads
52
Comments
3
Likes
3
Embeds 0
No embeds

No notes for slide

How Portals Work in Minecraft

  1. 1. How Portals Work<br />Eric Haines<br />http://vokselia.com<br />5/30/2011<br />
  2. 2. Overworldvs.Nether Coordinates<br />Use F3 to find your coordinates. X is north/south (south is positive), Z is east/west (west is positive).<br />Overworld to Nether:<br /> Nether X = OverworldX / 8<br /> Nether Y = OverworldY (no change)<br /> Nether Z = OverworldZ / 8<br />So (386,116,-837) in the Overworld converts to (48.25,116,-104.625) Nether<br />Nether to Overworld:<br />Overworld X = Nether X * 8<br />Overworld Y = Nether Y (no change)<br />Overworld Z = Nether Z * 8<br />So (46,95,-117) in the Nether converts to (368,95,-936) in the Overworld<br />
  3. 3. Overworld Portal to Nether<br />Convert the player’s location from Overworld to Nether coordinates.<br />From the Nether X and Z (north/south, east/west) location, look in the Nether for 128 blocks north, south, east, and west. Find the closest Nether portal to the player’s location. Distance is measured in 3 dimensions.<br />Steve pops into the Nether. The program searches for the closest portal in a box that’s 257x257 wide and 128 high (the world’s height) in the Nether.<br />128<br />high<br />-128<br />+128<br />
  4. 4. If no portal is inside this volume…<br />Then a new portal is spawned close by, in an area large enough to hold it.<br />Instead of spawning a portal at Steve’s location in solid rock, it is placed in a cave.<br />
  5. 5. Overworld to Nether Range<br />Searching from the Overworld into the Nether searches 128 meters in each direction in the Nether.<br />This distance is the same as 1024 meters in the Overworld. A single portal in the Nether will be connected, one way, from any Overworld portal within the 1024 meters box around it.<br />So, a box of size 2048x2048 (approx.) in the Overworld can connect to one Nether portal.<br />1024m<br />1024m<br />128m<br />128m<br />
  6. 6. Nether Portal to Overworld<br />Uses the same sort of process: find the player’s Nether location in the Overworld and then find the closest portal within a box 128 meters (blocks) north, south, east, and west of that location, in the Overworld.<br />Note the key difference: 128 meters in the Overworld is just 16 meters in the Nether. So a Nether portal searches a much smaller box, 256x256 Overworld-equivalent vs. 2048x2048 Overworld-equivalent.<br />Nether portals search a much smaller overall equivalent space!<br />128m<br />128m<br />The left Overworld portal is in range, the right is not.<br />16m<br />16m<br />
  7. 7. Conclusions<br />To make an unbreakable two-way link between Overworld and Nether portals, build them at the exactly the same locations in each world.<br />Going from an Overworld portal to a Nether portal can go a long distance and is very common, since the search range is huge in Overworld term.<br />But, it’s often a one-way trip, since the Nether portal searches a relatively small range when looking in the Overworld for a nearby portal.<br />This small search range also means that, if you build a portal in the Nether, it is pretty easy to (accidentally or on purpose) spawn a new portal in the Overworld. If your Nether portal’s Overworld location is more than 128 meters away, in a cardinal direction (north/south or east/west), from any Overworld portal, a new Overworld portal will be created.<br />

×