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