Optional
commandsAll commands of the blueprint.
for (const cmd of bp.commands) {
if (cmd instanceof BuildCmd) {
console.log(cmd.item.name)
}
}
[]
Optional
heightHeight of the blueprint area in square. [1, 100] integer.
1
Optional
versionBlueprint format version. 0 by default. At the time of writing, the game only accepts 0
and -1
and considers them the same. Any further updates may require changes in the library.
0
Optional
widthWidth of the blueprint area in square. [1, 100] integer.
1
All the properties can be set, and are required for a valid blueprint.