what is portal linking, how does it work how do i link a portal in the overworld to a portal in the nether?
ive seen a few videos about portal linking and i just find it a bit confusing on how it works, im thinking of making a new base in the overworld but its over 1000-1,500 blocks away and travelling using elytra would just take too long and too many fireworks.
this might sound a bit confusing but what i basically want to do is make a nether hub where 2 portals are next to eachother in the nether but they are far away from each other in the overworld, is this even possible to do?
im really confused, i just need a way for fast travelling and ive heard that this is a good way for travelling
this might sound a bit confusing but what i basically want to do is make a nether hub where 2 portals are next to eachother in the nether but they are far away from each other in the overworld, is this even possible to do?
im really confused, i just need a way for fast travelling and ive heard that this is a good way for travelling
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
You're also going to focus on only the X and Z coordinates. There are reasons and ways to manipulate the Y, but that's for far more advanced players/reasons than me.
THEORY: so if I have a portal in the overworld at 0,0 (X,Z), then the nether portal will also be at 0,0. If I put down a nether portal at 800,800 in the overworld the matching nether portal in the nether will be at 100,100.
For every block you travel in the nether, you will be going 8 block in the overworld.
In practice: whichever dimension you are in, when you place and activate the portal, AND step through it the first time (that's the big key - the stepping through part), a corresponding portal will be created, as close to the divided by or multiplied by 8 coordinates in the other dimension as it can "safely" go - beware stepping through the first time - you could be over a sea of lava.
to properly link up - you want to break the system created portal and re-place it in your calculated location. for example. Let's say I put a nether portal at exactly 800, 800 in my overworld. When I walk through, because of the terrain, it's actually at 96,103 in the nether. If this is just a quick jaunt into the nether to gather resources and you don't care, that's good enough.
If you are planning a hub, this is your chance to move it, including up or down. You can just pick a y level and build your hub there. I personally like y=110 myself. The server I'm playing on, the mods picked y=85. I picked mine because most of it is solid netherrack at that y level. I can just tunnel and spawn-proof as I go (I prefer slabbing), to prevent mobs from spawning in my road.
So, you would break the nether side portal, the one at 96,103, and rebuild it at 100 110 100.
Now one portal doesn't make a hub. So let's say you find a desert about 2000 blocks east of your base. So around 2800,800. You build another nether portal there. When you go through it, you are at 369 43 87, because you are on the cliff overlooking a huge lava lake. You need to be at 350 (2800/8) 100 (800/8). Pillar up to y=110 and place your new nether side portal at 350 110 100. Don't forget to break the system generated one down below. Light it and go back and forth a couple of times to be sure they are connected. Now all you have to do is tunnel through the nether ceiling back to your first portal.
Now you can travel 2000 blocks in the overworld, just by going through 250 blocks in the nether.
When we talk about portal linking we want to know which portal you will come out of after entering a portal in the other dimension.
Here's how it works on Java edition:
Even though we call it portal linking, the game doesn't actually link up portals. Every time you enter a portal the game tries to determine the target portal.
When you enter a portal, the game takes your current coordinate in the world and calculates a corresponding coordinate in the other dimension. When you enter a portal in the overworld to go to the nether, the game divides your X and Z coordinates by 8 but the Y coordinate stays the same. When you go from the nether to the overworld the game reverses that calculation by multiplying X and Z by 8. Let's say you are at X=108, Y=100, Z=505 in the overworld, then the corresponding coordinate in the nether is X=14, Y=100, Z=63.
So, now that we know the corresponding coordinate, the game looks for all portals that it can find in the other dimension that are within a box around the target coordinates. The box includes the entire world height, but on the X and Z coordinates it's limited to +-128 blocks when going to the overworld and +-16 blocks when going to the nether. This is where I believe the Bedrock version does things differently, I think the nether search distance is 128 blocks as well.
So taking our example, when going to the nether the game would look in a box that goes from X=-2, Z=47 to X=30, Z=79.
If the game does not find any portals in that search box, it creates a new one in a suitable place.
But if there are portals in that search box this is where portal linking becomes important because the game now takes the portal block that is geometrically nearest to the target coordinate. Now, even though when searching portals the height did not matter, the actual portal linking does take height into account. The game calculates the euclidian distance between the target coordinate and the existing portal. Because of the euclidian distance calculation, the result can be unintuitive sometimes. Lets say you have two nether portals on the nether side in our example. One is at X=14, Y=50, Z=63, the other portal is at X=20, Y=90, Z=78. You'll end up at the second portal, even though the X and Z coordinates of the first portal are closer to the actual target coordinates. But if we calculate the distance here, we get a distance of 50 for the first portal but the second portal has only a distance of only 19.
In your case, having two portals right next to each other will not work. Two bases that are about 1000 blocks apart in the overworld, will need portals in the nether that are at least 93 blocks apart from each other. That's the distance between the corresponding coordinates minus the size of he search box.