Coordinates

From Minecraft Wiki
(Redirected from Direction)
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 Minecraft world. They are based on a grid where three lines or axes intersect at the origin point. Players initially spawn within a couple hundred blocks of 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,

thereby forming a right-handed coordinate system (middle≡x, thumb≡y, index≡z), making it easy to remember which axis is which.

Displaying coordinates[edit]

Screenshot showing the debug information, with coordinates XYZ and Facing.
The coordinates 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 your current coordinates in the upper left part of the screen. In Bedrock Edition, the coordinates can be displayed by changing the world options.

For Java Edition, the coordinates can be seen on the debug screen.

For Legacy Console Edition, the coordinates can be found on any map item.

For Bedrock Edition, the coordinates are displayed in a box in the top left.

For New Nintendo 3DS Edition, the coordinates are displayed on the Touch Screen.

Coordinates first appeared on the debug screen in Alpha v1.2.3.

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.

One coordinate number equals one block. And, in terms of real-world measurement, one block equals 1 cubic meter.

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: When the display shows you are at Y=63, then the player's feet are at Y=63, the player's legs are approximately 63.5 and the player's eyes are at 64.62, and the player is out of the water; when the display shows the player is at Y=62, then the player's head is in the Y=63+ block, the player's feet are in the Y=62 block, the player's feet may be wet and the player's head is dry. The top of the water is Y=63 (actually, slightly higher than Y=62.9). For lava, the top of the overworld lava is 11, and if the player's Y is 10 then the player's feet may be burning.

With these numbers in mind, we can see that the player's current location is:

  • x: -54.5 (west)
  • y: 4 (above from the bottom of the game environment)
  • z: -153.5 (north)

Facing: south

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.