Hmm maybe there is a way to combine multiple direction commands to the notetag?
Like so:
<CL: Light 150 #FFFFFF B40
D1D2D3>
(even though I don't care how the formatting would go)
I tried making a "corner" lamp working around the system by creating multiple light sources with a different direction each, but this came out of it:
So I either have to accept that light can shine "through" the regionblock or make sure that light never passes through regionblock entirely. I personally would not mind either to be honest.
I don't know how easy this would be to program since I don't know much about JS as of yet.
So in the end this is more of a suggestion than a request.
Edit: maybe it is also possible to make a system where instead of making 4 static directions, you can choose which "angle range" of the light source is visible.
So if 360° is the whole circle and the top-most point is 0°, you could write something like:
<CL: Light 150 #FFFFFF B40
0-180>
which would mean that a part of the circle will get cut off at 181° to 360°
Again, this just came to my head, it is probably not realistic to implement though