Adding system_info('world_min_spawning_light') (#1475)
This commit is contained in:
1 parent
914e129f6e
commit
811b330446
2 files changed
+3
-1
No files matched your search
@@ -200,6 +200,7 @@ public class SystemInfo {
|
||||
});
|
||||
return MapValue.wrap(rules);
|
||||
});
|
||||
put("world_min_spawning_light", c-> NumericValue.of(c.s.getLevel().dimensionType().monsterSpawnBlockLightLimit()));
|
||||
|
||||
put("source_entity", c -> EntityValue.of(c.source().getEntity()));
|
||||
put("source_position", c -> ValueConversions.of(c.source().getPosition()));
|
||||
|
||||
Reference in new issue
Block a user