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

Feature request: Add ability to specify coordinates of one block, which would then tell you the coords of all other blocks #11

Open
rawdr opened this issue Aug 25, 2022 · 2 comments

Comments

@rawdr
Copy link

rawdr commented Aug 25, 2022

It would be really helpful if I could mark one square and input the coordinates for that square. Then, all other squares would have coordinates associated with them that correspond to my actual world where I'm building this thing. Either the coords would show as a tooltip, or show it above based either on where my mouse cursor is or which other square I've selected.

This would be very helpful in mapping out my project in my actual world, and double checking whether a specific block is actually where it is suppose to be. Currently, everything is relative to the rest of the structure and can only be verified as a whole.

@donatj
Copy link
Owner

donatj commented Aug 26, 2022

Something along these lines is on my list. I'm just not sure a good way to build the UI for it.

@rawdr
Copy link
Author

rawdr commented Aug 26, 2022

Absolute simplest way would probably be just 2 input fields for x, z coordinates, and those coordinates would apply to the center square. A checkbox to enable is optional.

But then the output... I can't speak to what is possible programmatically but if you can capture mouse cursor location then you can probably just do math on that and show it with text below the input fields, constantly changing as the mouse moves.
Here's a mockup. (could save space by making some things inline or smaller boxes or whatever)

Better might be, if there's a way to click squares on the svg then the selected one can be highlighted blue or something and the output would show the coordinates at that square. That way the relevant coords would stay static while you are moused back into Minecraft.

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

2 participants