scarpet icon indicating copy to clipboard operation
scarpet copied to clipboard

Adding light_level_overlay.sc

Open Ghoulboy78 opened this issue 2 years ago • 6 comments

Cos MiniHUD wasn't updated but I like this functionality, so I decided to add it myself. It has some utility features too for busy servers and poor connections. (By which I mean I send the shapes to be drawn in batches) Todo:

  • [ ] Only put display in player's viewrange

Ghoulboy78 avatar Jun 27 '22 18:06 Ghoulboy78

Mob spawning light level doesn't work atm gnembon/fabric-carpet#1655

rv3r avatar Feb 12 '23 05:02 rv3r

Unless your above task means something different than the range option that's already present, I feel like this is good to go.

rv3r avatar Feb 12 '23 17:02 rv3r

I mean only putting the display on blocks that the player can view, cos otherwise it gets laggy af, even for small ranges.

Ghoulboy78 avatar Feb 12 '23 18:02 Ghoulboy78

I mean only putting the display on blocks that the player can view, cos otherwise it gets laggy af, even for small ranges.

Isn't that basically what the armor stand combined with 'trace' does?

rv3r avatar Feb 12 '23 18:02 rv3r

Yes, but this solution is even laggier, and doesn't really work very well.

Ghoulboy78 avatar Feb 12 '23 21:02 Ghoulboy78

Oh good point. Plus it requires a lot of subdivisions to look nice, which makes things worse.

rv3r avatar Feb 12 '23 21:02 rv3r