A nether portal is a manufactured structure which acts as a gateway between the the Overworld and Nether dimensions.
Horizontal coordinates and distances in the Nether are proportional to the Overworld in a 1:8 ratio. That is, by moving 1 block horizontally in the Nether, players have moved the equivalent of 8 blocks on the Overworld. This does not apply on the Y-axis. Thus, for a given location (X, Y, Z) in the Overworld, the corresponding coordinates in the Nether are (floor(X ÷ 8), Y, floor(Z ÷ 8)), and conversely, for a location (X, Y, Z) in the Nether, the matching Overworld coordinates are (floor(X × 8), Y, floor(Z × 8)).


if no portals exist in the search region, the game creates one, by looking for the closest suitable location to place a portal, within 16 blocks horizontally (but any distance vertically) of the player’s destination coordinates. A valid location is 3×4 buildable blocks with air 4 high above all 12 blocks. When enough space is available, the orientation of the portal is random. The closest valid position in 3D distance is always picked.
Enjoy the game and thanks for reading!









