Skip to content

Add Range Display to Mega Torch and Dread Lamp#270

Open
Syer10 wants to merge 1 commit intoXalcon:mc/1.21.1from
Syer10:range
Open

Add Range Display to Mega Torch and Dread Lamp#270
Syer10 wants to merge 1 commit intoXalcon:mc/1.21.1from
Syer10:range

Conversation

@Syer10
Copy link
Copy Markdown

@Syer10 Syer10 commented May 6, 2026

GUI

javaw_2026-05-05_23-33-20

Inside Range

javaw_2026-05-05_23-33-53

Outside Range

javaw_2026-05-05_23-34-04

Notes

  • There is some z-fighting when blocks merge
  • Its enabled per-mega torch server-wide, so everyone can see the range display when enabled
  • It works with shaders (Tested with Iris)

@Xalcon
Copy link
Copy Markdown
Owner

Xalcon commented May 6, 2026

Thank you for this PR.

I have a very basic client-side-only implementation in 1.20, but i was never super happy with how it works, especially when multiple torches overlap.

I dont have much time during the week, I'll take a closer look on the weekend - but I'm unsure what you mean its server wide. Each player still has to explicitly enable it in the settings - but it will show all torches? Or will you need to toggle it per torch?

Either way, I'll try to find some time this weekend to review this.

@Syer10
Copy link
Copy Markdown
Author

Syer10 commented May 6, 2026

Each Torch now has a GUI that enables the range preview, the range preview is then shown to all players since it's a part of the Torch itself, and not the client.

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

Successfully merging this pull request may close these issues.

2 participants