WorldRules
此内容尚不支持你的语言。
Defined in: sdk/src/worldgen/rules.ts:118
A game’s rules for laying out a world.
Properties
Section titled “Properties”biomes
Section titled “biomes”biomes: readonly
BiomeDef[]
Defined in: sdk/src/worldgen/rules.ts:122
fields?
Section titled “fields?”
optionalfields?:Record<string,FieldFn>
Defined in: sdk/src/worldgen/rules.ts:129
id:
string
Defined in: sdk/src/worldgen/rules.ts:119
layers
Section titled “layers”layers: readonly
PlacementLayer[]
Defined in: sdk/src/worldgen/rules.ts:127
In order: each keeps clear of the layers before it.
noise?
Section titled “noise?”
optionalnoise?:Partial<Record<string,NoiseField>>
Defined in: sdk/src/worldgen/rules.ts:128
plants?
Section titled “plants?”
optionalplants?:Readonly<Record<string,PlantKind>>
Defined in: sdk/src/worldgen/rules.ts:125
The kinds of plant the recipes’ members name.
recipes
Section titled “recipes”recipes: readonly
Recipe[]
Defined in: sdk/src/worldgen/rules.ts:123
versions
Section titled “versions”versions: readonly
number[]
Defined in: sdk/src/worldgen/rules.ts:121
The versions it can still make; a world names one.