Interface BlueprintOptions

All the properties can be set, and are required for a valid blueprint.

interface BlueprintOptions {
    commands?: BPCmd[];
    height?: number;
    version?: number;
    width?: number;
}

Implemented by

Properties

commands?: BPCmd[]

All commands of the blueprint.

Example

for (const cmd of bp.commands) {
if (cmd instanceof BuildCmd) {
console.log(cmd.item.name)
}
}

Default Value

[]

height?: number

Height of the blueprint area in square. [1, 100] integer.

Default Value

1

version?: number

Blueprint 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.

Default Value

0

width?: number

Width of the blueprint area in square. [1, 100] integer.

Default Value

1