CONTENT CONTRACT · VERSION 1
PrefabSource
Native voxel source with indexed appearances and explicit visible faces.
Signature
{ appearances: {VoxelAppearance}, cells: {VoxelCell}, id: PrefabAssetId, kind: Name, version: FormatVersion }Fields
| Name | Type | Meaning |
|---|---|---|
appearances | {VoxelAppearance} | Indexed material/color table referenced by prefab cells. Items: 1…255 |
cells | {VoxelCell} | Unique voxel coordinates with appearance and visible-face mask. Items: 1…1000000; Unique entries |
id | PrefabAssetId | Package-qualified identity; unique within its declaring namespace. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:prefab_source |
kind | Name | Discriminant selecting the exact closed record shape. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
version | FormatVersion | Exact supported format or package version; no implicit upgrades. Range: 1…1; Unit: count |