Skip to main content

machine_data_artifact

Stores machine runtime state (placed instances, energy, progress) as JSON data — artifacts entry.

Entry Information

PropertyValue
Entry IDmachine_data_artifact
TypeArtifacts
ColorOrange
Iconfa6-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

FieldTypeDescription
artifactIdStringUnique 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: ""