Table of Contents

Enum EnumGetClimateMode

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

The type of climate values you wish to receive

public enum EnumGetClimateMode

Fields

ForSuppliedDateValues = 2

The values at the supplied calendar time, supplied as additional arg

ForSuppliedDate_TemperatureOnly = 3

The values at the supplied calendar time, ignoring rainfall etc. Calling IBlockAccessor.GetClimateAt with this mode will never return a null ClimateCondition value, if it would be null it returns a ClimateCondition with a default 4 degrees temperature value

ForSuppliedDate_TemperatureRainfallOnly = 4

The values at the supplied calendar time, ignoring forest cover etc. Calling IBlockAccessor.GetClimateAt with this mode will never return a null ClimateCondition value, if it would be null it returns a ClimateCondition with a default 4 degrees temperature value and no rain

NowValues = 1

The values at the current calendar time

WorldGenValues = 0

The values generate during world generation, these are loosely considered as yearly averages