I am making a mod to display the distance from the player to a specific location. Currently this specific location is set at (-724, 13, -1285).
I want to be able to set the location while playing.
Is it possible to get the coordinates of a block by hitting that block with a specific item?
I am open to suggestions about another way of setting the coordinates if the hitting the block idea is not possible.
Here is the part of my code that determines and renders the distance:
Thanks in advance for the help!