# Nether Portal Coords 🧭

#### 🧠 How It Works

Whenever a player **uses a Nether portal** (in either direction), the datapack sends them a **private message in chat** showing the **corresponding coordinates** in the opposite dimension.

**For example:**

* If you enter a portal in the **Overworld**, you'll see a message like:

  ```
  [Nether Portal Coords] Suggested Nether coords: X: 120, Z: -35
  ```
* If you enter a portal in the **Nether**, you'll see:

  ```
  [Nether Portal Coords] Suggested Overworld coords: X: 960, Z: -280
  ```

This is based on Minecraft's 1:8 coordinate ratio:

* **1 block in the Nether = 8 blocks in the Overworld** (X and Z only)

The datapack does this math automatically for you and **only shows the message to the player using the portal**.
