Class BuildCmd

All the properties can be set. Set to undefined to remove a property. x, y, item are required for a valid command.

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

bits: BuildBits

A BuildBits instance.

item: Item

The item to build. See the Item enum.

shape: Shape

Shape of the block to be placed.

x: number

X-coord, horizontal offset from the middle of the left bottom square of the blueprint area. Can go down to -0.5.

y: number

Y-coord, vertical offset from the middle of left bottom square of the blueprint area. Can go down to -0.5.

Methods

  • Changes multiple properties of the command.

    Parameters

    Returns this