Skip to content

PlacementLayer

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

optional chunkSize?: number

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


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.


optional farSpacing?: 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


optional lodDistance?: 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.


optional occupies?: boolean

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

Whether later layers keep clear of its footprints (default true).


spacing: number

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

The distance between candidates: about the distance between groups where the layer is full.


optional version?: number

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

Bumped when the layer’s placement changes: part of every placement’s id.