Contraption component (Create)
Customize the machine's kinetic behavior.
This component requires Custom Machinery Create to be installed.
The contraption machine component is used to customize which sides of the machine are able to connect with Create kinetic network (shafts, gears, motors etc...).
This component is fully optional, if not present the machine will still be able to interact with Create kinetic network on all sides.
This component can also be used to make the machine bring a kinetic stress impact on the network by default when the machine is idle, errored or paused. If the machine is running the kinetic stress impact defined on the recipe takes priority over the value defined in this component.
Contraption component is defined with "type": "custommachinery:contraption"
in the json.
Properties
The contraption component has 1 mandatory property and 2 optional properties :
Mandatory property
"type": "custommachinery:contraption" //Mandatory to define a contraption component.
Optional properties
Example
An example of a contraption component that will allow the machine to interact with a create shaft only on the left and right sides and bring a kinetic stress impact of 4.
{
"type": "custommachinery:contraption",
"config": {
"default": "none",
"left": "both",
"right": "both"
},
"stress_impact": 4
}
You just have to put that in the components
array in the machine json.
Last updated