raise Wall

Raise a wall of blocks from the builder’s mark to the current position.

You chose the type of block to use and how many blocks high to raise the wall. The wall starts at the last position mark and goes to the builder’s current position.

builder.raiseWall(GRASS, 5);

Parameters

  • block: the type of block to use for the wall
  • height: the height of the wall in blocks, such as: 5

Example

Use the builder to create a diagonal wall near the player.

builder.teleportTo(pos(1, 0, 0));
builder.mark();
builder.teleportTo(pos(10, 0, 10));
builder.raiseWall(STONE, 3);

See Also

||builder:line||

Here’s an example project that uses the builder: Build a house.