Builder

The builder is a tool that makes it easier to build complex structures in the game.

The builder is an invisible cursor that you can move around in the world. You can then place multiple blocks at once in the game world, based on the builder’s trajectory and marks.

To see an example project that uses the builder, see the Build a house example.

Reference

builder.move(FORWARD, 1);
builder.turn(TurnDirection.Left);
builder.face(WEST);
builder.teleportTo(pos(0, 0, 0));
builder.setOrigin();
builder.teleportToOrigin();
builder.mark();
builder.place(GRASS);
builder.tracePath(GRASS);
builder.fill(GRASS);

Advanced

builder.position();
builder.raiseWall(GRASS, 5);
builder.line(GRASS);
builder.copy();
builder.paste();
builder.pushState();
builder.popState();
builder.shift(1, 1, 1);
builder