
Calculator
Nether Portal Calculator
Where a Nether portal takes you, the square the game searches and which portal it links to: Nether coordinates are Overworld ones divided by 8.
Your position as you step into the portal (F3 screen)
You arrive near Nether
0 64 0
The game looks for a portal from -16 -16 to 16 16, at any height: 16 blocks each way.
Portals that already exist there (any block of the portal): Nether
The closest portal wins, height included; on a tie the lower one.
| Overworld to Nether | X and Z divided by 8, rounded down to the block; the height stays the same |
| Nether to Overworld | X and Z times 8 |
| Search square | The game looks for portal blocks up to 16 blocks away in the Nether and 128 in the Overworld, along X and Z, at any height |
| Which portal | The portal block closest to the spot, height included; on a tie the lower one |
| No portal found | The game builds a new portal near the spot, looking up to 16 blocks around for room |
| Linking two portals | Build the second portal at the matching spot (divided or multiplied by 8) so each one is the closest to the other's spot |






