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

[Suggestion] Showing the location best for the next light source #54

Open
WildFyr16 opened this issue Mar 26, 2024 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@WildFyr16
Copy link

WildFyr16 commented Mar 26, 2024

What would this do?

This would have a custom coloured square (Maybe blue?) At the perfect distance from the last green square to place another torch. This would be helpful to players who just want to light up an area just enough to stop spawning without using too many torches. (for example, under a build or a mine area) I have also included a mockup of how I would think this would work. (I am aware that different light sources give off a different amount of light, however I think as torches are the most commonly used light source to light up things like under builds and in mines because of their easy to acquire nature I think their 13 block radius should be the one taken into account here.)

Mockup

@WildFyr16 WildFyr16 changed the title [Suggestion] Showing the location best for the next light soruce [Suggestion] Showing the location best for the next light source Mar 26, 2024
@andi-makes
Copy link
Contributor

Thank you for your suggestion!

While on a 2D-plane, this seems simple, it gets way more difficult to do correctly when there are obstacles on that 2D-plane, and even more difficult when considering the complex 3D world of Minecraft.

I'm not sure if there even is a performant and correct way of solving this kind of problem. The obvious solution of just calculating the distance to the next light source is already quite resource intensive and wrong because it doesn't take any obstacles into account.

Again, thank you for your suggestion, and I highly appreciate the work you've put into your mockup! Maybe someday I'll tackle it, or someone else does, who knows :)

@andi-makes andi-makes added enhancement New feature or request help wanted Extra attention is needed labels May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants