Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placeholder API support #8

Open
Pandemonious opened this issue Aug 22, 2024 · 0 comments
Open

Placeholder API support #8

Pandemonious opened this issue Aug 22, 2024 · 0 comments

Comments

@Pandemonious
Copy link

Hello. Directionhud is great, thank you for developing.

Would it be possible to have placeholder API support?
I would like to have commands in the menu to clear waypoints, as well as other things.

Suggested placeholders:

  • @s %directionhud_tracking% = true or false - whether or not @s is tracking a destination or a player
  • @s %directionhud_trackingdest% = true or false - whether or not @s is tracking a destination
  • @s %directionhud_trackingplayer% = true or false - whether or not @s is tracking a player

Less important but would also be cool:

  • @s %directionhud_lastdeathdim_integer% = string - the dimension of @s' last death. Integer would be how many last deaths ago, so 0 would be very last death, 1 would be death before that, etc, up to the limit in config.
  • @s %directionhud_lastdeathx_integer% = number - the X coordinate of @s' last death
  • " " y " = " " Y "
  • " " z " = " " Z "
  • @s %directionhud_savedname_integer% = string - the name of @s' Integerth saved destination
  • " " savedx " = number - the X coordinate of @s' integerth saved destination
  • " " y " = " " Y "
  • " " z " = " " Z "

By the way, if you're able to add these placeholders, I may be able to create a GUI using RockyHawk's CommandPanels. That may or may not count toward your "Future Goals" list of having a chest inventory UI

Looking forward to seeing what you may be able to come up with!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant