I believe the two portals in the overworld have to be under 128 blocks apart total and also should be at least 8 blocks apart horizontally. I just used some simple 3D coodinate math and built the one in the nether at the midpoint.

  • CodyCannoli@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Interesting, my method was to use ((ax+bx)/2)/8 , (ay+by)/2 , ((az+bz)/2)/8 to find the coordinates for the portal in the nether. Then just a little trial and error to calibrate it correctly. However, your method seems a lot more robust and would be a lot easier to troubleshoot.

    • Lvxferre@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Your method is simpler, and it works great. The problem appears when you’re a bit more specific on where to put the portal in the Nether. For example, in my current world:

      • Portal A had to go at y=200, in the free corner of my floating island
      • Portal B had to go at y=(65~80), on the ground (there’s a big slope there)
      • the Nether portal had to go at y=120, due to my Nether hub, and I wasn’t willing to break the bedrock ceiling

      Averaging A and B would force me to put the Nether portal around y=(132~140), outside my hub and over the roof. So I had to calculate the coords for B instead, to push it far enough in the X and Z axes to compensate the Y distance. Those inequations did the trick.