use of org.spongepowered.common.world.SpongeLightType in project SpongeCommon by SpongePowered.
the class SpongeRegistryLoaders method lightType.
public static RegistryLoader<LightType> lightType() {
return RegistryLoader.of(l -> {
l.add(LightTypes.BLOCK, k -> new SpongeLightType(15));
l.add(LightTypes.SKY, k -> new SpongeLightType(15));
});
}
Aggregations