machine_data_artifact
Stores machine runtime state (placed instances, energy, progress) as JSON data — artifacts entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | machine_data_artifact |
| Type | Artifacts |
| Color | Orange |
| Icon | fa6-solid:database |
Description
Artifact backing the placed instances of a machine definition: position, owner and per-component runtime data (energy, progress) survive restarts here. Read and written by [btc.renaud.machine.MachineInstancePersistence] through the shared ArtifactEntry.loadData()/saveData() helpers in EntryExtensions.kt, like every other artifact in this extension.
Fields
| Field | Type | Description |
|---|---|---|
artifactId | String | Unique artifact identifier — do not change after creation or data will be lost |
Usage Example
- entry: machine_data_artifact
name: "Stores machine runtime state (placed instances, energy, progress) as JSON data"
artifactId: ""