mojira.dev
MCPE-39609

Portals don't stay linked and multiple overworld portals connect to the same nether portal.

Nether Portal Linking

Nether portals do not permanently "remember" what portal in the other dimension they connect to. Often this can result in multiple Overworld portals connecting to the same Nether portal, or in returning to the Overworld at a different portal than you started at.

This happens because whenever the player or other entity enters the portal, the game uses the coordinates of the entry point to calculate where to go in the target dimension. It then searches the target dimension for the closest portal and sends the player there, or if it can't find a portal close enough to qualify, it automatically creates a new portal as close as possible to the calculated coordinates and sends the player to it.

Here's how that works:

1. Start with the exact starting coordinates (Xstart,Y,Zstart) when entering the portal.

2. If traveling from Overworld to Nether divide by 8:
Xend = Xstart / 8 | Zend = Zstart / 8

If traveling from Nether to Overworld multiply by 8:
Xend = Xstart x 8 | Zend = Zstart x 8

In both cases, keep the Y coordinate unchanged.

3. Use the closest active portal within a 17×17 chunk area centered on the calculated coordinates (Xend,Y,Zend). If there is no portal close enough, create a new portal at a "safe" location. In some cases the game may create a platform around the portal over lava or water.

Note that when going from the Overworld to the Nether, it often happens that the target Nether coordinates are inside a mountain of netherrack from floor to ceiling, which leaves the game nowhere it can build a portal near the calculated coordinates. If this is the case and the game can't find an existing portal within the 17×17 chunk area, it creates a new portal as close as possible to the calculated coordinates, but this new portal may be displaced so far that it can't reach the original Overworld portal. This is one reason you sometimes can't return to the original Overworld portal you entered.

For a more detailed explanation visit the Minecraft Wiki.

We were working on a nether hub, but we can only build 3 portals. From the 4 portal it is linked with the first portal. The portals are more then 500 block away from each other pls fix it.

Related issues

MCPE-85115 Portal linking issue BDS-8647 Neather gate bug BDS-8975 Underworld Nether Portal links & creates portal in Overworld BDS-15012 Nether Portal, warping back to overworld puts player at incorrect location BDS-15339 Multiply Nether portals (Minecraft Mobile) MCPE-43861 Nether portal created in different location upon return! MCPE-51710 Nether portal overworld linking to whole different portal even with correct coords MCPE-60448 Nether Portals Not Generating and Linking Properly MCPE-60540 Nether Portals Don't Work Separately MCPE-66509 Nether portal regeneration MCPE-69054 nether portals are broken! MCPE-69676 NETHER PORTAL PROBLEM MCPE-71181 Nether Portals not working right? MCPE-71718 all the portals in the overworld arrive at the same place in the nether MCPE-72202 Nether portal linking MCPE-72875 Portal bug MCPE-74489 the portals arrive at the same place MCPE-74491 Multiple spawning nether portals MCPE-74496 Nether portal can't natural link MCPE-74570 Nether portals bug MCPE-74961 Nether portal linking is super messed up MCPE-75864 Random nether portal. MCPE-85258 Nether portal creates new potals at friends house when I leave. MCPE-85802 All Nether and Over-world send back original portals MCPE-86256 Mutliple portals connection to portals that belong to other portals MCPE-86318 Duplicating and randomly generating Nether portals/Infinite obsidian glitch MCPE-86380 Incorrect Nether Link MCPE-86491 Nether portal doesn't teleport me to correct coordinates MCPE-86699 Portals not linked at all even though no third party tools were ever used. MCPE-87406 Nether Portal links to portal far away. MCPE-87509 Nether portal MCPE-88171 Nether portal linking broken on server software. MCPE-88398 Nether portals not linking - no third party software (switch) MCPE-88696 When I create portals it always falls in the same place MCPE-88720 Nether portal not linking MCPE-89014 Portal linking issues MCPE-89333 Nether Portal Generation is Broken MCPE-89377 New Nether portals do not link back to the same portal properly, generates a new random one instead MCPE-89379 Ps4 addition- nether portal are broken overworld and nether portals do not link properly MCPE-89553 Nether Portal Not Working MCPE-89619 Nether Portals are not staying bound to one another MCPE-90136 Nether Portal not working correctly MCPE-90517 Nether portal always becomes another portal MCPE-90769 Nether portal issues MCPE-90833 Leaving The Nether Sometimes Does Not Take Me To The Original Portal In The Overworld MCPE-91003 Nether update portal bug MCPE-92091 Nether portal spawning MCPE-92789 Nether portal Issue MCPE-92978 Nether portal MCPE-93480 Exiting nether portals spawns you away from original portal MCPE-93557 portal to the broken nether MCPE-93632 Portal problem MCPE-96247 Overworld Portals link to same portal MCPE-96259 Portals are not linked right MCPE-96634 Nether portals work in one direction only (to the nether) MCPE-97152 bugs MCPE-98150 Returning from the nether, the game is not checking for existing overworld portals, and instead creates a new one about 80% of the time. MCPE-99834 The nether portal coords don't work properly MCPE-100702 bugs on the Nether portal MCPE-101060 Nether Portals don't link properly between the Overworld and the Nether MCPE-102221 Nether portals not linking correctly in realms MCPE-102705 portals are not synchronizing correctly. MCPE-102803 nether portals linkage MCPE-102874 Random, Teleporting, Annoying Portal MCPE-102888 Bug nether portals MCPE-103914 Portal generation MCPE-104411 the nether portals are not linked MCPE-104431 Nether portal system MCPE-104850 portals at certain heights are not linked (sorry i use translator) MCPE-104996 New portal generation MCPE-105180 Nether Portals end up in same place MCPE-105418 When you enter the "Nether" and go back, you spawn in another place but with another nether portal (Minecraft PE) MCPE-106792 my portal is buged MCPE-107228 my portal is buged MCPE-108667 Cat unlinked nether portal MCPE-109339 NETHER PORTAL are broken. MCPE-112415 Strange Nether Portal Glitch MCPE-112652 Nether Portal teleports you to different location MCPE-113618 Nether Portal to Overworld MCPE-113831 Nether Gates dont appear to be working properly MCPE-113895 nether portals keep making new portals coming back into overworld MCPE-113974 Nether Portal Spawns MCPE-115072 Nether portal spawn MCPE-115291 Fix Nether Portal MCPE-115548 Nether portals on server and realms connecting to pre-made portals MCPE-115849 Whenever I go into a nether portal then come back through it will spawn me in a random place nearby and it is very annoying. MCPE-116810 Game Can't Seem to Find Built Portal in Overworld MCPE-117282 nether portal unlinking MCPE-117644 Nether portal MCPE-117788 Nether Portal Destination Inconsistency MCPE-118099 Nether portals doing weird stuff MCPE-118112 Different constucted nether portals teleporting you to the first nether portal in the nether MCPE-118425 The nether portal don't bring the player to the same Portal MCPE-119567 Portals won't work properly MCPE-119625 Nether portals created by themselves MCPE-119688 Portal bug MCPE-121624 Nether Portal Not behaving Consistently MCPE-122428 Nether portals incorrectly linked MCPE-122675 Overworld nether portals keep sending me to the same spot in the nether MCPE-123426 Fixed Ruined Portal Teleports me to my base's Nether Portal MCPE-123498 New nether portal connects to existing portal MCPE-123603 Nether portals linking to each other MCPE-125501 Nether portal are not creating a second portal in nether. MCPE-126135 when I return from the nether, it takes me to another place that is not the previous portal that I made MCPE-127685 New Nether portal spawned when going back to the OW MCPE-127901 nether portal is broken MCPE-128273 Nether portals linking from very far away MCPE-128306 Portals won't stop linking MCPE-128524 Two nether portals in the nether is leading to the same one in the overworld. MCPE-129157 nether portals will teleport to last activated portal in creative mode MCPE-129727 Nether Portal Linked MCPE-131848 Nether portal not linking MCPE-132492 Different Nether Portal respawned. MCPE-132566 Nether Portal spawns new portal when coming back to over world MCPE-132802 Nether portals in the overworld being interconnected MCPE-133838 Nether portals not linking up properly MCPE-134142 Nether portals don't link naturally to a new location in the overworld MCPE-134506 Nether Portal Linking Issue MCPE-134665 nether portal travel MCPE-135033 Multiple Nether Portals MCPE-135165 Nether Porter Respawn MCPE-135905 nether portals broken on realms MCPE-136270 Nether portals not linking up correctly MCPE-137138 Nether portals not working correctly MCPE-137221 New Nether Portal Linking to Existing Nether Portal MCPE-137388 Double portals MCPE-137888 Watch the video MCPE-139100 I went into the nether and went back and spawned somewhere else MCPE-139180 The Nether Portals are not working right MCPE-139491 Nether portals linking incorrectly MCPE-139493 Bedrock Nether Portals MCPE-139498 Nether Portal duplication MCPE-139623 Nether portal issue MCPE-139642 Portal bug MCPE-140355 Nether portal glitch MCPE-140709 Nether portal issue MCPE-140773 Nether portal randomly moves MCPE-140781 Nether Portals all link to one Outlet MCPE-144079 Nether portal bug MCPE-145159 A different nether portal does not generate even when making a new one far away in the overworld MCPE-147414 Issue with nether portal MCPE-147927 nether portal MCPE-148513 Random Nether Portals Appearing MCPE-149797 i linked 2 portals but minecraft kept creating new ones MCPE-149941 Nether Portal sends me back to wrong location after exiting Nether MCPE-150533 Nether Portals Do Not Link MCPE-151084 The nether portals always teleport you to the same place no matter what MCPE-155040 Nether Portal Bug? MCPE-176188 Nether portal creation/linking bug (realms) MCPE-177335 Portals still not linked up properly MCPE-182089 Portals dont seem to link up 90% of the time and just makes a new one in a random location MCPE-187469 All overworld Nether portals lead to the one same Nether spawn portal REALMS-5538 Nether portals dont work as intended REALMS-6109 Nether Portal Bug REALMS-7205 Portal REALMS-7613 Me and my friend are at least 1000 blocks from each other and the portal don’t link right REALMS-8350 Nether Portals REALMS-8933 Nether Portal will not link correctly REALMS-9043 the Nether portal in Minecraft Realms goes back to just one portal MCPE-194818 Nether Portals Loading in the wrong spot

Comments

Auldrick

As far as I can tell from the limited information you've given, this is working as intended. Linking nether portals can be quite tricky, but I've never yet seen a case where it was not working as it's designed to.

The most common reason that two Overworld portals link to the same Nether portal even when they are far apart is that an obstruction in the Nether is keeping the game from generating the Nether side near its nominal position (i.e. at coordinates calculated by dividing the Overworld X and Z coordinates by 8). For example, mountains of netherrack that run from the floor to the ceiling of the Nether are very common. If you activate an Overworld portal whose nominal Nether side would be within such a mountain, the game must look for the nearest location where it can generate the Nether side portal. If there is already a portal there, or within 128 blocks of there, it will be used instead of generating a new portal.

To solve this problem, use the coordinates of your Overworld portals to calculate the nominal positions of their Nether side portals. At least one of them will be a substantial distance away from the Nether side portal that it actually links to. Use that one to go to the Nether, then dig into the netherrack mountain in the direction of the nominal coordinates. You don't have to go all the way, just make an open space somewhat closer to them. Build a new portal at the location you've reached, and use it to return to the Overworld. You should come out in one of your original Overworld portals. If it's not the one you want, repeat the process using the other Overworld portal.

Also, remember that the game only remembers links between the Overworld and Nether side portals for a short time after you use one. After a minute or two, it falls back to calculating the nominal coordinates in the other dimension, then searching for any portal within 128 blocks before it gives up and generates a new portal as close as possible to the nominal destination. When you're trying to link portals, you can become confused if you travel one way, then quickly return via the same portal. It may seem like they're linked the way you want, but then after a few minutes it stops linking that way. So be sure to test links in both directions and wait a couple of minutes between trips before you decide it's working reliably.

If this discussion doesn't help you resolve your problem, we'll need information about where each portal is (in both dimensions), which ones link with each other, and what you expected to be different. This report will automatically reopen when you reply.

migrated

Okay I can try that but we have already tried 4 new portals but all 4 links 

migrated

So today i run to the location in the nether with help of locator map because coordinates are cheats and the location is not in lava or in netherrack so why will the portal not open from the overworld to the nether ?

Auldrick

Coordinates have not been classified as cheats in the game for quite a long time, although perhaps you meant that you regard using them as cheating per the rules you've all agreed to.

If your map shows that you're at the correct corresponding location in the Nether but the game still doesn't generate a portal there, the only possible reason (other than a bug) is that there was already an existing portal in the Nether within 128 blocks. This is the problem with trying to link a portal starting on the Overworld side: It can very easily link to an existing portal that's, say, 100 blocks away in the Nether, but when you try to return, the Nether side tries to link back to the Overworld 800 blocks away from the original portal, which is too far so it generates a new Overworld side. That's why it's always much easier to link portals by starting from the Nether side, because wherever it generates the Overworld portal, when you return the Nether side will almost always be within range and can be found. (I think the only exception is if it tries to generate the Overworld side in the middle of an ocean.)

What should work is for you to go back to that location you found in the Nether and build a new portal there. Then use it to return to the Overworld. I think you'll find that you come out at the Overworld portal you wanted, and that from then on the Overworld side will link back to the Nether side reliably. Please try that and let us know if it works.

By the way, I should have thought more carefully about what you said above, that your portals are 500 blocks apart. 500 blocks in the Overworld is the equivalent of about 63 blocks in the Nether. If all your Overworld portals were exactly 500 blocks apart, all their corresponding points in the Nether are within a 64x64 block area. Since the game searches up to 128 blocks when looking for a portal to link to, they could all link to a single Nether side portal if it happens to generate at the right spot. Again, it's always easier to start on the Nether side and let it generate the Overworld portals. Once you've established a link, you can break and rebuild the Overworld side a small distance away and it will usually link back to the same Nether side. (You can also reposition the Nether side this way, but you can only move it a very few blocks—no more than 15—before it won't relink properly any more, because 16 blocks in the Nether corresponds to 128 blocks in the Overworld.)

migrated

Problem solved thnx for the help !!!

migrated

This is NOT resolved. As seen here:

https://youtu.be/EWHnEmWMU3o

migrated

I still need to see where this is resolved and working as intended as well.

GoldenHelmet

The panel in the description of this report explains how portal linking works. It is intentionally coded to work that way, so it is not considered a bug. The video linked by Nicky Grimson shows exactly what the panel describes:

Note that when going from the Overworld to the Nether, it often happens that the target Nether coordinates are inside a mountain of netherrack from floor to ceiling, which leaves the game nowhere it can build a portal near the calculated coordinates. If this is the case and the game can't find an existing portal within the 17×17 chunk area, it creates a new portal as close as possible to the calculated coordinates, but this new portal may be displaced so far that it can't reach the original Overworld portal.

migrated

Ok so I get a portal over lava and it is okay. As long as it is unobstructed.

migrated

I understand the frustration, here is a good place to calculate the nether to overworld coords since this has been a bug since the nether was launched. https://nethercalculator.com/

migrated

(Unassigned)

Unconfirmed

Xbox

1.7.1

Retrieved