Minecraft Data Packs / Tool

Show Coordinates

  • check_circle Functions
  • 24,889 views, 25 today
  • 7,099 downloads, 4 today
  • 18
  • 27
  • 4
Stantoncomet's Avatar Stantoncomet
Level 44 : Master Engineer
8
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
Tags

Create an account or sign in to comment.

Kogeta
11/20/2023 6:59 pm
Level 1 : New Miner
Kogeta's 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)
1
Stantoncomet
11/22/2023 4:11 pm
Level 44 : Master Engineer
Stantoncomet's 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.
1
ShadowDragoner
04/29/2023 8:09 am
Level 1 : New Miner
ShadowDragoner's Avatar
does it work on verison 1.19.2
1
Stantoncomet
05/09/2023 3:30 pm
Level 44 : Master Engineer
Stantoncomet's Avatar
Yes, it does!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome