In Minecraft, coordinates are a set of numbers that help players locate specific points in the game world. Each coordinate represents a position in the game's three-dimensional environment. It is important to know how to use them since most commands use them.

Show Coordinates

In order to know what coordinates we are in, we activate the "show coordinates" option in the game settings menu of our world.


Coordinates logic

The coordinates are X Y Z, the 3d axes of minecraft.

The x-axis indicates the player's distance to the east (positive) or west (negative) of the point of origin (spawnpoint), that is, the longitude.

The y-axis indicates how high or low (from 0 to 255, with 64 being sea level) the player is, that is, the elevation.

The z-axis indicates the distance of the player from the south (positive) or north (negative) of the point of origin (spawnpoint), that is, the latitude.

Absolute Coordinates

Absolute coordinates refer to fixed points in the Minecraft world, using specific numbers to pinpoint locations. To use absolute coordinates, simply type the exact numbers without tildes (~). These numbers represent the fixed X, Y, and Z positions in the world, such as 100 64 100.

To navigate or teleport to a precise location, you input the absolute coordinates directly. For example, if you want to go to a specific spot at the coordinates X=150, Y=70, Z=-200, you would use /tp 150 70 -200.

Using absolute coordinates is especially useful for setting up permanent structures or features at specific locations, ensuring you can always find or return to these exact spots.

Relative Coordinates

Relative coordinates refer to coordinates based on the position of the player or entity, type ~ to use a relative coordinate. The player's current position is represented by ~ ~ ~.

You can also add or subtract blocks from a relative coordinate by adding numbers. For example, ~5 means 5 blocks forward in the axis starting from the player's coordinates and ~-5 means 5 blocks backwards in the axis starting from the player's coordinate.

A simple way to understand it is to use it to teleport, if we want to teleport 5 blocks up from where we are we would have to put /tp ~ ~5 ~.

/tp ~ ~-5 ~