line
Create a line of blocks from the builder’s mark to the current position.
You chose the type of block to make the line with. The wall starts at the last position mark and goes to the builder’s current position.
builder.line(GRASS);
Parameters
- block: the type of block to use to build line
Example
Use the builder to draw a diagonal line of diamond blocks near the player.
builder.teleportTo(pos(0, 2, 0));
builder.shift(-20, -2, -20);
builder.line(DIAMOND_BLOCK);
See Also
||builder:raise wall||
,
||builder:trace path||
Here’s an example project that uses the builder: Build a house.