Package org.spongepowered.api.world
Interface LightType
-
- All Superinterfaces:
DefaultedRegistryValue
@CatalogedBy(LightTypes.class) public interface LightType extends DefaultedRegistryValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
defaultLightValue()
Gets the default light value for this light type.-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-
-
-
Method Detail
-
defaultLightValue
int defaultLightValue()
Gets the default light value for this light type. Useful for defaulting a light value if there is a missing source forEnvironmentalVolume.light(int, int, int)
.- Returns:
- The default light value
-
-