-
Notifications
You must be signed in to change notification settings - Fork 6
Commands
SchematicBrush supports two primary commands: //schbr and //schset
The //schbr command is used to bind the schematic brush to the player's currently selected tool (the same as any other brush command). It allows either the explicit definition of one or more schematic specifications, or it can specify the ID of a schematic set that has been previously defined using the //schset command. It also allows setting of certain other options that affect the way the brush tool is processed. The command format is:
- //schbr schematic schematic ... options
- //schbr &set-id options
where:
- schematic is a schematic specification (name, name@rot, name@rot flip, etc). One or more can be specified.
- set-id is a schematic set ID
-
options are one of more of the following:
- -incair - apply air blocks from the schematic (default is to only apply non-air blocks)
- -replaceall - replace both existing and air blocks when applying the schematic (default is to only replace airblocks)
- -yoff:offset - amount to add to Y coordinate of the block selected by the brush when setting the bottom of the applied schematic
- -place:placement - selects placement strategy for schematic: default is CENTER (block clicked by brush is center of schematic - same as //brush clipboard). Others supported are BOTTOM (bottom of schematic is placed just above the block clicked by the brush), and DROP (lowest layer of schematic containing non-air blocks is placed just above the block clicked by the brush).
The //schset command includes several subcommands, which are always selected with the first parameter of the command.
The //schset list command allows listing of the IDs and descriptions of all the defined schematic sets. If the optional matchstr parameter is provided, only those sets whose ID contains the substring matchstr are listed.
The //schset create command is used to create a new schematic set with the ID value of id. Any additional fields are schematic specifications that will also be included in the new set.
The //schset delete command is used to delete an existing schematic set, based on its ID.
The //schset append command is used to add additional schematic specifications on to an existing set with an ID of id.
The //schset append command is used to remove schematic specifications from an existing set with an ID of id.
The //schset get command is used to retrieve the details of an existing set with an ID of id.
The //schset setdesc command is used to set the description text for an existing set with an ID of id.