Package org.spongepowered.api.world
Interface LightType
- All Superinterfaces:
DefaultedRegistryValue
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the default light value for this light type.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
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
-