view the rest of the comments
Minecraft
Welcome to the Minecraft community on Lemmy and Kbin!
The home for all posts related to the Minecraft franchise: from the classic game to the mobile ports, mods, adventure games, merchandise and similar!
Official Lemmy.world server available!
Lemmy.world hosts an official server that welcomes all players to contribute and have fun:
Minecraft Version: 1.20.x
Address: minecraft.lemmy.world
Please make sure you read our rules before posting.
Rules:
Rules can be clicked on to be expanded.
1: Treat all users with respect.
Bullying, threathening, doxxing, or toherwise hostile behaviors with any of our users will not be tolerated. Be civil, have fun.
2: Posts must be related to the Minecraft franchise.
This includes the main game, titles like Dungeons, fan art, wiki pages, toys, new feature votes, and similar content.
3: No advertising.
If you want to share a product you're a manufacturer or seller of, please contact the moderation team first. Affiliate links to online shopping stores or affiliate coupon codes are not allowed.
4: No piracy.
Links or discussions about cracked versions of games, unauthorized copies of copyrighted material and other similar piracy-related content are not allowed.
5: No NSFW or adult content.
This community is inclusive to users of all ages. Keep in mind Minecraft attracts children and adults alike. Therefore, no NSFW content is allowed.
6: No low-effort meme content.
Memes are allowed, and so are comics or other fan creations. However, low-effort reposts and otherwise overused memes will be removed.
Reddit reposts are allowed.
Reddit reposts are allowed, but you need to include the tag [Reddit] in the title.
Related communities:
-
PC Gaming: !pcgaming@lemmy.world
-
Games: !games@lemmy.world
-
PC Handhelds: !pchandhelds@lemmy.world
-
Minecraft modding: !moddedminecraft@sopuli.xyz
I like those 2-in-1 portals - building them involves a lot of small tidbits of maths, to ensure that they work well, but they're a great way to access floating bases without ruining their looks.
Do you mind if I drop a mini-tutorial here on how to do it?
You need to keep track of the following coordinates:
In OP's image, the block "N" would be the block of the Nether portal immediately above the red concrete blocks; it's where your feet would be, once you hop into the portal. While "M" is the one immediately above the blue concrete.
Your Nether portal will link to both A and B if:
This might look complicated, but it boils down to "N is closer to A than to B; M is closer to B than to A".
Notice the 8's in both equations. They're important there because 1m in the Nether = 8m in the Overworld, but only in the X and Z axes. Don't add those 8's to the Y coordinates!
If you want to be a bit lazy, make sure that both overworld portals share one or two coordinates. For example, if portal A is at (10, 200, -10) and portal B is at (20, 70, -10), then their Z coordinate is the same, and you can simplify the inequations to remove any term with "z" in it. And if the portals were exactly one above another, the inequations collapse to
Or if they're on the same X and Y coordinates, and only Z is different:
(If anyone wants, I can help out with the maths for a practical situation.)
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.
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:
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.