The file format
The files are YAML, text that you can read and change in an editor:
yaml
format: c0de_paint canvas
version: 1
palette:
- "minecraft:stone_bricks"
- "minecraft:oak_stairs[facing=east,half=bottom]"
rows:
- "0 0 0: 0*5 1"
- "0 1 0: 0 _*3 0"palette lists the blocks, numbered from 0, as text like in /setblock, with states and data; an id without a namespace is one of minecraft. Each entry of rows is a row of voxels along the x axis: it starts at the voxel x y z:, then follows one entry per voxel, the number of a block of the palette or _ for a voxel that isn't set, and *n repeats an entry n times. Lines that start with # are comments.