From Minecraft Wiki
Jump to: navigation, search
X, Y and Z coordinate on a Minecraft map.
North is upward, at *negative* z and 180 degrees. Moving clockwise, East is to the right at positive X and -90 degrees. South is down, at *positive* Z and 0 degrees. West is left, at negative X and +90 degrees.
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[edit]

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[edit]

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[edit]

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 the 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.

Interpreting coordinates[edit]

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[edit]

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:

Debug screen without coordinates.png

For Bedrock Edition, /gamerule showcoordinates true applies.


Clock JE3.gif
This section needs to be updated. 
Please update this section to reflect recent updates or newly available information.
Reason: Doesn't show when the coordinates display was added in Bedrock Edition.
Java Edition Alpha
v1.2.3Coordinates now appear on the debug screen.
Bedrock Edition
?Coordinates can be enabled from the world settings or the command /gamerule showCoordinates and appear in the top left corner of the screen.
1.8.0beta Showing coordinates no longer requires cheats to be enabled.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.1Coordinates are displayed at the top corner of a map.