gnembon / scarpet

Public Repository of scarpet programs for Minecraft
Creative Commons Zero v1.0 Universal
359 stars 162 forks source link

Adding light_level_overlay.sc #326

Open Ghoulboy78 opened 2 years ago

Ghoulboy78 commented 2 years ago

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:

rv3r commented 1 year ago

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

rv3r commented 1 year ago

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

Ghoulboy78 commented 1 year ago

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

rv3r commented 1 year ago

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?

Ghoulboy78 commented 1 year ago

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

rv3r commented 1 year ago

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