Search in sources :

Example 1 with SpongeMapShade

use of org.spongepowered.common.map.color.SpongeMapShade in project SpongeCommon by SpongePowered.

the class SpongeRegistryLoaders method mapShade.

public static RegistryLoader<MapShade> mapShade() {
    return RegistryLoader.of(l -> {
        l.add(0, MapShades.BASE, k -> new SpongeMapShade(0, 180));
        l.add(1, MapShades.DARK, k -> new SpongeMapShade(1, 220));
        l.add(2, MapShades.DARKER, k -> new SpongeMapShade(2, 255));
        l.add(3, MapShades.DARKEST, k -> new SpongeMapShade(3, 135));
    });
}
Also used : SpongeMapShade(org.spongepowered.common.map.color.SpongeMapShade)

Aggregations

SpongeMapShade (org.spongepowered.common.map.color.SpongeMapShade)1