Skip to content

WorldZoneData

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

The fields of the WorldZone component.

biome: string

Defined in: sdk/src/worldgen/worldgenPlugin.ts:113

A biome it holds over its area; empty holds none.


excludes: string

Defined in: sdk/src/worldgen/worldgenPlugin.ts:111

The tags of what it keeps out, separated by commas; * keeps out everything.


falloff: number

Defined in: sdk/src/worldgen/worldgenPlugin.ts:108

Over how many world units past its outline it fades out.


flatten: boolean

Defined in: sdk/src/worldgen/worldgenPlugin.ts:115

Whether it levels the terrain under it to the ground’s height at its centre.


kind: string

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

What the zone is for (home, road, landing, building, resource, view): the game’s own words.


priority: number

Defined in: sdk/src/worldgen/worldgenPlugin.ts:109


radius: number

Defined in: sdk/src/worldgen/worldgenPlugin.ts:104


shape: number

Defined in: sdk/src/worldgen/worldgenPlugin.ts:103


sizeX: number

Defined in: sdk/src/worldgen/worldgenPlugin.ts:105


sizeZ: number

Defined in: sdk/src/worldgen/worldgenPlugin.ts:106