Is there a command to display my coordinates in chat?
Solution 1:
In Minecraft Pocket Edition (from 0.16.0) you can use the command /tp ~ ~ ~
, which teleports the current player to the current location. This command has the side effect of displaying the coordinates it teleported to.
This should work on the PC version as well, but I don't have access to that just now.
Solution 2:
I'm sorry, but currently, there is no way to do this (that I am aware of) without using thousands of command blocks to detect each separate position and display a message for each. I hope I'm wrong, but I believe there is no way to currently do this easily