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
Inherited Members
Extension Methods

Fields

MaxForest

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

public float MaxForest

Field Value

float

MaxRain

The maximum amount of rain for the object to spawn.

public float MaxRain

Field Value

float

MaxShrubs

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

public float MaxShrubs

Field Value

float

MaxTemp

The maximum tempurature for the object to spawn.

public float MaxTemp

Field Value

float

MaxY

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

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

public float MinForest

Field Value

float

MinForestOrShrubs

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

public float MinForestOrShrubs

Field Value

float

MinRain

The minimum amount of rain for the object to spawn.

public float MinRain

Field Value

float

MinShrubs

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

public float MinShrubs

Field Value

float

MinTemp

The minimum tempurature for the object to spawn.

public float MinTemp

Field Value

float

MinY

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

Methods

SetFrom(ClimateSpawnCondition)

public void SetFrom(ClimateSpawnCondition conds)

Parameters

conds ClimateSpawnCondition