Is there a command to display my coordinates in chat?

Is there a command to display my coordinates in chat? - Javascript Code

I know I can get them by toggling f3, but It would be much more efficient, in my opinion, to just display it without a toggle.



Best Answer

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.




Pictures about "Is there a command to display my coordinates in chat?"

Is there a command to display my coordinates in chat? - Close Up Photo of Computer Codes
Is there a command to display my coordinates in chat? - Woman in Blue Denim Jacket Using Macbook Pro
Is there a command to display my coordinates in chat? - Crop ethnic woman with mobile phone



How do you see your coordinates in Minecraft chat?

To check your coordinates in Minecraft, you can either craft a map, open the debug menu, or use chat commands. You can see coordinates in the upper left corner of any map held. Otherwise, you can show coordinates by typing \u201c/tp ~ ~ ~\u201d into the chat box.

How do I turn coordinates on in chat?

Coordinates can be enabled from the world settings or the command /gamerule showCoordinates and appear in the top left corner of the screen.



| How To Teleport From Chat Commands in MinecraftPE | 101% Work Minecraft PE 🔥🔥(हिंदी में)




More answers regarding is there a command to display my coordinates in chat?

Answer 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

Answer 3

You can do it with one command block using the command:

/execute positioned as <username> run teleport <username>  ~ ~4 ~

Note: this is VERY specific with the coordinates displayed in chat.

Answer 4

Minecraft 1.13 and newer versions allow this to be done without teleporting the player:

/data get entity @s Pos

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Markus Spiske, Markus Spiske, Matilda Wormwood, Tim Samuel