Table of Contents

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

Fields

MaxLight = 2

Will get you max(onlysunlight, 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

TimeOfDaySunLight = 4

Will get you sunlight * sunbrightness