Dynamic Lights [Server] [Forge/Fabric/Quilt]

Dynamic Lights [Server] [Forge/Fabric/Quilt]

106k Downloads

More emit light level

EyatMC opened this issue ยท 4 comments

commented

Is your feature request related to a problem? Please describe.

The current datapack generates light levels of 6, 9, and 15. However, another users might want to use light levels other than 6, 9, and 15

Describe the feature you'd like

I attempted to add level 12 to bridge the significant gap between level 9 and level 15 but failed
It would be great to have files with a more diverse range of light levels, such as (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)

Describe alternatives you've considered

No response

Additional context

No response

commented

This can probably be closed as completed now.

commented

This is a planned feature (to be fair not listed in the wiki under planned features for some reason) and I will add support for at least light levels 3 and 12 in the next updates.

Edit: Light levels 3 and 12 have been implemented in v1.8

commented

Having recently found out and looked at this, I'm curious as to why the whole light level spectrum isn't included, or if it'd be possible/simple to add another light level? For example, while torches dynamically emit a light level of 15, in-world they actually emit a light level of 14.

commented

It would certainly be possible to include even more light levels/the whole range, but this might tank performance, since every added light level means running a pretty long predicate chain every tick for most entities to detect any items that should trigger that light level. Since performance is already pretty bad due to light updates and just generally commands, I'm reluctant to add more overhead (even though predicates should be pretty fast)