mojira.dev
MC-268430

Overworld Portal goes to 1st Nether Portal, but supposed to go to 2nd Nether Portal

Hello =) So. I have 4 portals.

Portal 1 is at : 8,y,8 in Overworld
Portal 2 is at : 56,y,56 in Overworld
Portal 3 is at : 1,y,1 in Nether
Portal 4 is at : 7,y,7 in Nether

 

By the "Nether portal coordinate conversion" rules :
Portal 1 coords should be divide by 8.
Portal 2 coords should be divide by 8.
Portal 3 coords should be multiplied by 8.
Portal 4 coords should be multiplied by 8.

So the intended behavior is :
Portal 1 should go to 1,y,1 in Nether (Portal 1 -> Portal 3)
Portal 2 should go to 7,y,7 in Nether. (Portal 2 -> Portal 4)
Portal 3 should go to 8,y,8 in Overworld. (Portal 3 -> Portal 1)
Portal 4 should go to 56,y,56 in Overworld. (Portal 4 -> Portal 2)

Result i had : 
Portal 2 teleported me at 1,y,1 in Nether. (Portal 3)
This break the conversion behavior.

Attachments

Comments 6

Bug description updated after some Discord comments.

The numbers are not an exact match, but does MC-530 describe your issue? The two overworld portals are close enough together so that they link to the same nether portal.

Not exactly cause in MC-530 is 3 portal.
In my situation there is 4 and with the conversion it should look for the closest portal.

I can't reproduce this. I've attached a world in which I created portals as you describe and get the linking behavior you described in "expected results"
https://www.mediafire.com/file/c0vderm7kbtyv25/world.zip/file

Well...
First, the world you send is not on the same version.
Second, Portals are not at the exact same coords.
Third, i hope this comment will not re-open the ticket (too lazy for reproducing the bug).

I will try somewhen and send back the bug if it's there. 🙂

Can't reproduce too. So, resolved for the moment. Thanks.

Allen1210

(Unassigned)

Unconfirmed

(Unassigned)

1.20.4

Retrieved