Prefab format
<name>.prefab.json files are used to save and export player made structures/prefabs, allowing players to then paste the prefab in to another world or another universe within the same world.
JSON format
- : Root object.
- version: The format version used at time of saving.
- blockIdVersion: The block Id version used at time of saving.
- anchorX: The X coordinate anchor or origin point relative to the prefabs area. 0 being the center of the prefab area.
- anchorY: The Y coordinate anchor or origin point relative to the prefabs area. 0 being the bottom layer of the prefab area.
- anchorZ: The Z coordinate anchor or origin point relative to the prefabs area. 0 being the center of the prefab area.
- blocks: The list of all non-Empty blocks in the prefab. Saved from the bottom North-West corner to the top South-East corner.
- : A block entry.
- x: The prefab relative X position of this block.
- y: The prefab relative Y position of this block.
- z: The prefab relative Z position of this block.
- name: The block id.
- components: The component data for this block. May not exist.
- support: The support distance level of this block. May not exist.
- filler: The filler value, may be a bit field (Unconfirmed). May not exist.
- rotation: The rotation value of this block. May not exist.
- : A block entry.
- fluids: The list of all fluids in the prefab. Saved from the bottom North-West corner to the top South-East corner.
- : A fluid entry.
- x: The prefab relative X position of this fluid.
- y: The prefab relative Y position of this fluid.
- z: The prefab relative Z position of this fluid.
- name: The fluid id.
- level: The fluids level.
- : A fluid entry.
History
Early Access |
|||||||
|---|---|---|---|---|---|---|---|
| 2026.01.13-dcad8778f | The prefab format is introduced. | ||||||