跳转到内容

BiomeDef

此内容尚不支持你的语言。

Defined in: sdk/src/worldgen/rules.ts:30

conditions: readonly BiomeCondition[]

Defined in: sdk/src/worldgen/rules.ts:32


id: string

Defined in: sdk/src/worldgen/rules.ts:31


optional paint?: readonly number[]

Defined in: sdk/src/worldgen/rules.ts:38

How the ground is painted where it holds: the weight of each of the terrain’s layers (four, or up to eight), and how much of the ground’s own paint it replaces.


optional paintStrength?: number

Defined in: sdk/src/worldgen/rules.ts:39


recipes: readonly BiomeRecipe[]

Defined in: sdk/src/worldgen/rules.ts:40


optional transition?: number

Defined in: sdk/src/worldgen/rules.ts:36

How far its edge wanders, in world units.


optional weight?: number

Defined in: sdk/src/worldgen/rules.ts:34

A multiplier on its weight, to favour it where it ties.