move
Move the builder in the direction you want it to go. You tell the builder how many blocks to move in that direction.
builder.move(FORWARD, 1);
Parameters
- direction: the direction that the builder moves, eg: FORWARD
- blocks: how far the builder moves, in blocks, eg: 1
Example
Move the builder up 5 blocks.
builder.move(UP, 5);
See Also
You can see the builder do some moves in the Build a house example.