Workbench tools
The tools included in the mod are described below, but in addition to them it is also possible to create custom types of tools.
Lathe
Tool code: lathe
The workpiece can be clamped in the jaws and rotated.
{
"lathe": {
"rpm": ...,
"transform": { ... },
"size": ...
}
}
- The
rpm
parameter is the number of revolutions per minute. - The
transform
parameter is the transformation of the workpiece relative to the center of the chuck. If this parameter is not defined, the lathe will not control the workpiece transformation. - The
size
parameter is the size of the workpiece, based on which the jaws will be moved apart by a certain distance.
Blowtorch
Tool code: blowtorch
It is used in all operations where it is necessary to heat certain parts of the glass.
{
"blowtorch": {
"temperature": ...
}
}
- The
temperature
parameter is the minimum temperature that the blowtorch should give.
Hand items
Tool code: handItem
or otherHandItem
An item that must be held in hand during crafting. If it is necessary to hold an additional item in second hand, the otherHandItem
can be used.
{
"handItem": {
"type": ...,
"code": ...,
...
}
}
The parameter is "crafting ingredient", i.e. it is possible to specify the type, code, attributes and other parameters.
If the item should be used as a tool, isTool: true
can be specified.
Liquid
Tool code: liquid
It is necessary to have a liquid container in hand while crafting.
{
"liquid": {
"type": ...,
"code": ...,
"requiresLitres": ...
}
}
- The
type
parameter is the type of liquid portion (block or item). - The
code
parameter is the code of the liquid portion. - The
requiresLitres
parameter is the amount of liquid needed.