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 infoDistanceFormat and infoDistanceBlock #349

Open
2 tasks
clorl opened this issue Jun 30, 2024 · 0 comments
Open
2 tasks

[Feature Request] Add infoDistanceFormat and infoDistanceBlock #349

clorl opened this issue Jun 30, 2024 · 0 comments

Comments

@clorl
Copy link

clorl commented Jun 30, 2024

Use case : I'm bad at mental maths, so having the infoDistance is useful. However, I always make mistakes when using it to build certain sizes of walls, if I set the reference position a bit too "early" on the block, and I read the distance a bit too "late", the integer value won't be the block coordinate. It's a bit of a headache, I always make 1 or 2 block mistakes because of this. Also, it would be nice to be able to choose the display format just like the coordinateFormat.

Specs :

  • Add distanceFormat as a string config entry so the display format of infoDistance can be specified by the player
  • Add a way to have the block distance to the reference point rather than the actual distance. Maybe the easier way would be to have a boolean config entry named snapInfoDistanceToBlockCenter which would snap the distance reference point to its equivalent block position, same with the player's coordinates.

If you'd think that would be feasible with little knowledge of your codebase, I'd be happy to PR it.

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