spawn
Since 0.6
Use it in a scene entity's components list as { "type": "spawn", … }. The contract writes the fields flat and refuses unknown keys.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
for | string | yes |
Rules that can refuse it
floor-gapinput-read-without-routinginput-reader-not-playerplayer-spawnspawn-no-sourcespawn-two-sourcesspawn-unknown-sourcespawn-unsupportedterrain/entity-floatingterrain/spawn-slopeunreachable-goal
Example
From the contract's tested fixture fixtures/contract/full20/scene.json#spawn-player.
{
"type": "spawn",
"for": "player"
}