Search in sources :

Example 1 with SpongeLightType

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));
    });
}
Also used : SpongeLightType(org.spongepowered.common.world.SpongeLightType)

Aggregations

SpongeLightType (org.spongepowered.common.world.SpongeLightType)1