
A number following a tilde (~) describes an offset from execution position along one of the world axes, and a lone tilde assumes an offset of 0.įor example, the position 32 blocks SSW ~10 ~ ~-30 means "10 blocks east (+X) and 30 blocks north (–Z) of here." And ~ ~ ~ means the command's current position. When specifying coordinates, each coordinate can alternatively be expressed as a relative world coordinate, written in tilde notation ( ~ΔX ~ΔY ~ΔZ). They can be expressed explicitly, using absolute world coordinates, or relative to the command source, using relative world coordinates or local coordinates. Some commands use require the player to specify coordinates. In Minecraft, decimal coordinates usually needs to be converted into integer coordinates by rounding down, which is called the block position of the coordinate. 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. When the display shows you are at Y=63, then the player's feet are at Y=63, and their eyes are at 64.62. As the player's elevation rises, the y-axis number increases, and as the player's elevation lowers, that number decreases.Īn entity's coordinates are actually the coordinates of the center at the bottom of player's collision box. Similarly, the x-axis number increases as the player travels east and decreases as you travel west.

Hence, it may be thought of as the 0,0 coordinate:Īs the player travels south, the z-axis number increases travel north and it decreases. The origin point marks the zero point for the x and z coordinates. And, in terms of real-world measurement, one block equals 1 cubic meter. The unit length of the three axes equals the side of one block.The y-axis indicates how high or low (from 0 to 255 (pre 1.18) or -64 to 320 (from 1.18), with 63 being sea level) the player is-i.e., the elevation,.The z-axis indicates the player's distance south (positive) or north (negative) of the origin point-i.e., the latitude,.The x-axis indicates the player's distance east (positive) or west (negative) of the origin point-i.e., the longitude,.

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

World coordinates are expressed as a set of three absolute world coordinates ( X Y Z), each number representing a distance along an axis from the world origin. Red highlights where these axes are different than standard. X and Z axes with directions shown, from a birds-eye view. X, Y and Z coordinate on a Minecraft map.
