Minecraft Data Packs / Tool

Show Coordinates

  • check_circle Functions
  • 21,835 views, 14 today
  • 6,542 downloads, 1 today
  • 17
  • 24
  • 4
Stantoncomet avatar Stantoncomet
Level 42 : Master Engineer
A datapack that displays your coordinates above your hotbar!
After installing, type /trigger help for more information.

Your coordinates will be sent to you on death unless you turned off coordinates for either yourself or everyone.

"/trigger coordsOff" to turn coordinates off for you.
"/trigger coordsOn" to turn coordinates on for you.
"/trigger sendCoords" to broadcast your coordinates to everyone in the game.

"/function gamerule:show_coords/false" to disable coordinates for everyone. This requires the person executing the command to have operator permissions and also disables the feature to broadcast your coordinates ("/trigger sendCoords") and will not send you coordinates on death.

"/function gamerule:show_coords/true" to enable coordinates for everyone. This also requires the person executing the command to have operator permissions.

Hope this makes your world a bit better!
CompatibilityMinecraft 1.14
toMinecraft 1.19

Create an account or sign in to comment.

11/20/2023 6:59 pm
Level 1 : New Miner
Kogeta avatar
Is there a way to make this display in the bottom right? I think it is interesting to have, but I'd like it more a reference if needed rather than on/off. (If this project is still ongoing)
11/22/2023 4:11 pm
Level 42 : Master Engineer
Stantoncomet avatar
Hm, I haven’t really needed to update this project, but it’s open to feedback! Currently, I don’t know of a way to display text just anywhere on the screen, but I do agree it would be useful. Right now it’s occupying the action bar title, so it overrides messages like “you can’t sleep because of monsters nearby”. If you know of a way to do this, please share and I’ll make it a feature!
I was experimenting a while ago with displaying items and text in variable parts of your screen, but I never got to a good point with it. I might revisit that as a possible solution to this suggestion.
04/29/2023 8:09 am
Level 1 : New Miner
ShadowDragoner avatar
does it work on verison 1.19.2
05/09/2023 3:30 pm
Level 42 : Master Engineer
Stantoncomet avatar
Yes, it does!
Planet Minecraft


© 2010 - 2023