rename to effective_light
This commit is contained in:
1 parent
abe9cf825c
commit
8be1cc2003
1 file changed
+2
-2
@@ -517,8 +517,8 @@ public class WorldAccess {
|
||||
expression.addContextFunction("sky_light", -1, (c, t, lv) ->
|
||||
genericStateTest(c, "sky_light", lv, (s, p, w) -> new NumericValue(w.getBrightness(LightLayer.SKY, p))));
|
||||
|
||||
expression.addContextFunction("real_light", -1, (c, t, lv) ->
|
||||
genericStateTest(c, "real_light", lv, (s, p, w) -> new NumericValue(w.getMaxLocalRawBrightness(p))));
|
||||
expression.addContextFunction("effective_light", -1, (c, t, lv) ->
|
||||
genericStateTest(c, "effective_light", lv, (s, p, w) -> new NumericValue(w.getMaxLocalRawBrightness(p))));
|
||||
|
||||
expression.addContextFunction("see_sky", -1, (c, t, lv) ->
|
||||
genericStateTest(c, "see_sky", lv, (s, p, w) -> BooleanValue.of(w.canSeeSky(p))));
|
||||
|
||||
Reference in new issue
Block a user