跳转到内容

WorldGenData

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

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

The fields of the WorldGen component.

paintGround: boolean

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

Whether the biomes paint the terrain.


rules: string

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

The rules the world is laid out by, as the game registered them, and the version of them the world was made with.


seaLevel: number

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

The height of the sea above a planet’s radius: a point lower than this is under water.


seed: number

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


surface: number

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

WorldSurface: a plane (a Terrain of x and z), or a planet (the entity is also a Planet, and the world is laid out over its six faces).


version: number

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


world: string

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

The world (a planet, a level) as the game names it, and its seed.