InfoNeeds devcommands
pos command
Syntax
What it does
Prints your current position coordinates to the console. Its main use is grabbing the x and z values to feed into goto, or noting an exact spot to share or return to. Needs devcommands.
Cheat commands need the console enabled with the -console launch option, then devcommands typed once. They work in singleplayer or when you host, not on dedicated servers.
Examples
Your current coordinates print to the console
Related commands