Catherine !TGirlYJKXM started this discussion 12 years ago#33,283
Can you explain a little bit more about how nether portal travel works?
I'm still dumb about this subject and there are a few areas I want to mark with portals.
A few important snippets > If there is already an active portal within range (about 128 blocks) in the other world, the player will appear in that portal. Otherwise, a portal will be created at or near the corresponding coordinates. If a portal is deactivated, and a matching in the other dimension is used before it is re-activated, a new portal may be created (not if there is another, active portal within range). The usual case for this is a when the player's Nether-side portal is deactivated by a Ghast, and they then die in the Nether and re-enter. However, multiple portals can be exploited to farm obsidian.
> Horizontal coordinates and distances in the Nether are proportional to the Overworld in a 1:8 ratio (1:3 in Xbox 360 version). That is, by moving 1 block horizontally in the Nether, players have moved the equivalent of 8 blocks on the Overworld. This does not apply on the Y-axis, despite the Nether having only 128 layers. Thus, for a given location (X, Y, Z) in the Overworld, the corresponding coordinates in the Nether are (floor(X) ÷ 8, Y, floor(Z) ÷ 8) (the Java floor() method gives the largest integer less than or equal to the argument, so an X- or Z-coordinate of -29.5 becomes -30, not -29). Conversely, for a location (X, Y, Z) in the Nether, the matching Overworld coordinates are (floor(X) × 8, Y, floor(Z) × 8). However, in the Xbox version, the values are multiplied or divided by 3 instead of 8, because of the smaller world size.
> Portals do not "remember" what portal they are linked to in the other world, but instead perform the following whenever a portal is used by a player: > First, the game converts the entry coordinates into destination coordinates as above: The entry X- and Z-coordinates are floored, then multiplied or divided by 8 (or 3) depending on direction of travel. The Y-coordinate is not changed. > Starting at these destination coordinates, the game looks for the closest active portal. It searches a bounding area of 128 horizontal blocks from the player, and the full map height (128 for the Nether, 256 for the Overworld). This gives a search area of 257 blocks by 257 blocks, at the full height of the dimension being traveled to. > If no portals exist in the search region, the game creates one, by looking for the closest suitable location to place a portal, within 16 blocks horizontally (but any distance vertically) of the player's destination coordinates. A valid location is one that has enough space to spawn a portal and is on solid ground. The game prefers to create the exit portal with the same facing orientation as the entry portal, but will check the other 3 directions as well. Regardless of orientation, the closest valid position in 3D distance is always picked. > If there are no valid locations within the range, the game will force creation of a portal at the destination coordinates. The Y-coordinate will be clipped to between Y=70, and 10 blocks below the height of the dimension (118 or 246, respectively). A 3×2×3 volume will be replaced with air, obsidian, and portal blocks. Such a portal has 4 extra obsidian blocks placed on both sides of the portal to prevent the player from falling.
r04r !GETFUCKED double-posted this 12 years ago, 3 minutes later, 13 hours after the original post[^][v]#461,532
> Portals should be built in networks - No more than 64 Nether blocks (256 Overworld blocks) apart, in the manner reminiscent of the gates in the Stargate series. You should build portals at (this is the maximum ideal distance, but they can be built as close to 16 Overworld blocks apart, if the co-ordinates are accurate) 64 Nether block intervals, even if you are not normally going to use these gates. The reason why, is because if you use Nether portals for long distance travel, and your usual Overworld destination portal becomes inaccessible for some reason, (due to large gravel caveins, lava, water, or you have an automated activation system and forgot to turn it on) you will still have a reasonably close backup gate, which will get you back into your gate network.
> Pairing portals - To setup pairs of Nether portals properly so that they reliably travel to each other, it is best to build both portals manually. Build at desired location X,Y,Z in the Normal World. Then travel to the Nether World. And then dig your way to X/8, Y, Z/8, and build a portal there. > A less precise method would be to temporarily deactivate all portals within a 128 block "radius" from within The Nether. Through death or with the aid of a second player, entering a new portal from the Normal World will force the creation of a new portal within the Nether which the Normal World portal should prefer. This is not recommended as it limits how close Normal World portals can be placed due to the Zone of exclusions and can lead to unpredictable placement of the resulting portal.
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 2 hours later, 15 hours after the original post[^][v]#461,536
@previous (r04r !GETFUCKED)
So basically built the overworld portal at 1022.0035 x 40 y -5505.537 z (for example) then build the nether portal at 127.7504375 x 40 y -688.192125 z for them to link up? I just want to make sure I understand.
Ks !KansasxqvM joined in and replied with this 12 years ago, 8 minutes later, 15 hours after the original post[^][v]#461,538
Portal calculator. I haven't tested it, but I figured something like this had to exist after reading your post.
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 3 hours later, 18 hours after the original post[^][v]#461,541
@previous (Ks !KansasxqvM)
One question, if I already have a portal in the overworld. What coordinates do I get?
Do I stand directly in the middle of the portal, the middle left block, or the middle right block?
r04r !GETFUCKED replied with this 12 years ago, 1 hour later, 20 hours after the original post[^][v]#461,545
@previous (Catherine !TGirlYJKXM)
Each of them are possible and can produce in a different portal on the other side. And if there is already a portal within 128 blocks of the supposed destination then that one will be used.
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 47 minutes later, 21 hours after the original post[^][v]#461,546
@461,538 (Ks !KansasxqvM)
One thing that I'm still unclear on. > Go to the place you want your return portal to appear.
I assume this means the overworld and this is where you build that portal to enter the Nether or does it just mean scout out the overworld coordinates and then go to the Nether equivalent of those coords using a portal elsewhere?
Anonymous E joined in and replied with this 12 years ago, 5 hours later, 1 day after the original post[^][v]#461,561
Autism.
r04r !GETFUCKED replied with this 12 years ago, 16 minutes later, 1 day after the original post[^][v]#461,563
@461,546 (Catherine !TGirlYJKXM)
I have never actually done that, but my interpretation:
You first build your portal on dimension A (Either the nether or the overworld), but do not enter it. You calculate the approximate destination location for dimension B, then travel to dimension B using a portal further away which will be too far away to link with the portal you just built. Then around the approximate location in dimension B you manually build the receiving portal where you want it to be. You enter the portal you just build, and will end up at the portal you build in step 1.
Anonymous F joined in and replied with this 12 years ago, 1 hour later, 1 day after the original post[^][v]#461,567
> build first nether portal > do not enter > go to the location you want your second linked portal to be > construct it > enter it > go to the nether equivalent of the overworld coords for the first portal > construct a new portal > enter it > come back to original
?
Sounds like more obsidian is required than just 20.
(Edited 38 seconds later.)
r04r !GETFUCKED replied with this 12 years ago, 20 minutes later, 1 day after the original post[^][v]#461,644
@previous (Catherine !TGirlYJKXM)
Yep. There's probably a better way like in KS' link
(Edited 1 minute later.)
Green !BEERiVqJJw joined in and replied with this 12 years ago, 4 minutes later, 1 day after the original post[^][v]#461,645