Show / Hide Table of Contents

Class VegetationConfig

Configuration class for adding custom vegetation.
Use this in a constructor of CustomVegetation and
Inheritance
object
VegetationConfig
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class VegetationConfig

Constructors

Name Description
VegetationConfig() Create a new VegetationConfig
VegetationConfig(ZoneVegetation) Create a copy of the ZoneSystem.ZoneVegetation

Properties

Name Description
Biome Biome to spawn in, multiple Biomes can be allowed with AnyBiomeOf(params Biome[])
BiomeArea BiomeArea to spawn in, defaults to Everything
BlockCheck Do a check before placing that there is nothing already from layers: "Default", "static_solid", "Default_small", "piece"
ForcePlacement Unlike what the name suggests, Valheim will attempt 50 times the normal amount of placements, almost guaranteeing that everything will be placed
ForestThresholdMax Maximum value of the forest fractal:
0 - 1: inside the forest
1: forest edge
1 - infinity: outside the forest
ForestThresholdMin Minimum value of the forest fractal:
0 - 1: inside the forest
1: forest edge
1 - infinity: outside the forest
GroundOffset Placement offset, use negatives to bury underground
GroupRadius Radius of group
GroupSizeMax Maximum amount in group
GroupSizeMin Minimum amount in group
InForest Enable to check forest thresholds against the forest fractal.
Max Values between 0 - 1 are used as a chance to place Values above 1 are used as integer amount of maximum per zone
MaxAltitude Maximum altitude of the vegetation
MaxOceanDepth Maximum ocean depth
MaxTerrainDelta Maximum terrain delta (difference between min and max height) in the circle defined by TerrainDeltaRadius
MaxTilt Maximum tilt in degrees
Min Minimum amount per zone
MinAltitude Minimal altitude of the vegetation
MinOceanDepth Minimum ocean depth
MinTerrainDelta Minimum terrain delta (difference between min and max height) in the circle defined by TerrainDeltaRadius
MinTilt Minimum tilt in degrees
ScaleMax Maximum scale of place instances
ScaleMin Minimum scale of placed instances
TerrainDeltaRadius Size of the circle used to determine terrain delta

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾