# Coordinates

(Redirected from Direction)
X, Y and Z coordinate on a Minecraft map.
X and Z axes with directions shown, from a birds-eye view. Red highlights where these axes are different than standard.

Coordinates numerically represent a player's location in a dimension.

## Coordinate system

Coordinates are based on a grid where three lines or axes intersect at the origin point.

• The x-axis indicates the player's distance east (positive) or west (negative) of the origin point—i.e., the longitude,
• The z-axis indicates the player's distance south (positive) or north (negative) of the origin point—i.e., the latitude,
• The y-axis indicates how high or low (from 0 to 255, with 64 being sea level) the player is—i.e., the elevation,
• The unit length of the three axes equal the side of one block. And, in terms of real-world measurement, one block equals 1 cubic meter.

## Block position

The position of a block is actually the coordinates of the point at the lower northwest corner of the block, that is, the integer coordinates obtained by rounding down the coordinates inside the block.

In Minecraft, decimal coordinates usually needs to be converted into integer coordinates by rounding down, which is called the block position of the coordinate.

## Displaying coordinates

Screenshot showing the debug information, with coordinates XYZ, Facing, and Block position.
The block position of player shown in Bedrock Edition.

In Java Edition, pressing F3 (or Fn+F3 on Macs and some laptops or Alt+Fn+F3 on newer Macs) brings up a debug screen which gives the player's current coordinates in the upper left part of the screen.

In Bedrock Edition, the block position of player can be displayed by changing the world options. The coordinates are displayed in a box in the top left, if the "Show Coordinates" option is turned on in the game settings screen or `/gamerule showcoordinates true` is used.

In Legacy Console Edition, coordinates are shown on a map.

In New Nintendo 3DS Edition, the coordinates are always shown on the Touch Screen.

## Interpreting coordinates

The origin point marks the zero point for the x and z coordinates. Hence, it may be thought of as the 0,0 coordinate:

• X-axis = 0
• Z-axis = 0

As the player travels south, the z-axis number increases; travel north and it decreases. Similarly, the x-axis number increases as the player travels east and decreases as you travel west.

As the player's elevation rises, the y-axis number increases, and as the player's elevation lowers, that number decreases.

The Y coordinate works a bit differently than the x and z coordinates in terms of spawning. Typically, the player does not spawn at y-coordinate 0. Instead, Y=63 is the Overworld water sea level, Y=31 is the Nether lava sea, and Y=11 is the overworld lava flood sea. To clarify: The sea level is 63, 11, or 31, which refers to the block position of top water/lava is 62, 10, or 30.

The player's coordinates are actually the coordinates of the center at the bottom of player's collision box. When the display shows you are at Y=63, then the player's feet are at Y=63, and the player's eyes are at 64.62.

## Coordinate usage

Coordinates may be put to a variety of uses.

Once players establish bases, they can note their coordinates before going exploring. Then if they get lost or respawn, they can find their way back to their bases by referring to those coordinates.

Coordinates are often used when sharing level seeds to give directions on where to go to find things.

Display of coordinates can be disabled using the command `/gamerule reducedDebugInfo true`:

For Bedrock Edition, `/gamerule showcoordinates true` applies.

## History

Java Edition Alpha
v1.2.3Coordinates now appear on the debug screen.