PlacementLayer
此内容尚不支持你的语言。
Defined in: sdk/src/worldgen/rules.ts:97
Properties
Section titled “Properties”chunkSize?
Section titled “chunkSize?”
optionalchunkSize?:number
Defined in: sdk/src/worldgen/rules.ts:107
drawDistance
Section titled “drawDistance”drawDistance:
number
Defined in: sdk/src/worldgen/rules.ts:104
How far from the streaming sources the layer is published, and the side of its chunks.
farSpacing?
Section titled “farSpacing?”
optionalfarSpacing?:number
Defined in: sdk/src/worldgen/rules.ts:112
How much further apart the far versions of this layer’s plants are planned than the layer’s spacing (default 1): a plant kind that keeps a quarter
of its plants far off is planned at 2, which is a quarter of the candidates to work out instead of all of them and three in four thrown away.
id:
string
Defined in: sdk/src/worldgen/rules.ts:98
lodDistance?
Section titled “lodDistance?”
optionallodDistance?:number
Defined in: sdk/src/worldgen/rules.ts:106
Past this, decoration that has a far version is drawn as it; the layer’s draw distance when absent.
occupies?
Section titled “occupies?”
optionaloccupies?:boolean
Defined in: sdk/src/worldgen/rules.ts:114
Whether later layers keep clear of its footprints (default true).
spacing
Section titled “spacing”spacing:
number
Defined in: sdk/src/worldgen/rules.ts:102
The distance between candidates: about the distance between groups where the layer is full.
version?
Section titled “version?”
optionalversion?:number
Defined in: sdk/src/worldgen/rules.ts:100
Bumped when the layer’s placement changes: part of every placement’s id.