Table of Contents

Class ClimateSpawnCondition

Namespace
Vintagestory.API.Common.Entities
Assembly
VintagestoryAPI.dll

A list of conditions based on climate.

public class ClimateSpawnCondition
Inheritance
ClimateSpawnCondition
Derived

Fields

MaxForest (Optional) (Default: 1)

The maximum amount of forest cover needed for the object to spawn.

public float MaxForest

Field Value

float

MaxRain (Optional) (Default: 1)

The maximum amount of rain for the object to spawn.

public float MaxRain

Field Value

float

MaxShrubs (Optional) (Default: 1)

The maximum amount of shrubbery needed for the object to spawn.

public float MaxShrubs

Field Value

float

MaxTemp (Optional) (Default: 40)

The maximum tempurature for the object to spawn.

public float MaxTemp

Field Value

float

MaxY (Optional) (Default: 2)

Won't span above maxY. 0...1 is world bottom to sea level, 1...2 is sea level to world top

public float MaxY

Field Value

float

MinForest (Optional) (Default: 0)

The minimum amount of forest cover needed for the object to spawn.

public float MinForest

Field Value

float

MinForestOrShrubs (Optional) (Default: 0)

The minimum amount of forest or shrubs for the object to spawn.

public float MinForestOrShrubs

Field Value

float

MinRain (Optional) (Default: 0)

The minimum amount of rain for the object to spawn.

public float MinRain

Field Value

float

MinShrubs (Optional) (Default: 0)

The minimum amount of shrubbery needed for the object to spawn.

public float MinShrubs

Field Value

float

MinTemp (Optional) (Default: -40)

The minimum tempurature for the object to spawn.

public float MinTemp

Field Value

float

MinY (Optional) (Default: 0)

Won't span below minY. 0...1 is world bottom to sea level, 1...2 is sea level to world top

public float MinY

Field Value

float