Enum EnumLightLevelType
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
Used in blockAccessor.GetLightLevel() to determine what kind of light level you want Open in GitHub
[DocumentAsJson]
public enum EnumLightLevelType
- Extension Methods
Fields
MaxLight = 2Will get you max(sunlight, onlyblocklight)
MaxTimeOfDayLight = 3Will get you max(sunlight * sunbrightness, blocklight)
OnlyBlockLight = 0Will get you just the block light
OnlySunLight = 1Will get you just the sun light unaffected by the day/night cycle
Sunbrightness = 5Will get you sunbrightness
TimeOfDaySunLight = 4Will get you sunlight * sunbrightness