Reset element
Add a reset button to the machine gui.
The reset gui element is a button used to reset the machine to it's idle state.
When clicked, the reset button will stop the current process and put the machine in it's idle state, all already used inputs will be lost.
Reset Elements are defined in json with : "type": "custommachinery:reset"
.
Properties
The reset gui element has 3 mandatory properties and 4 optional properties :
Mandatory properties
"type": "custommachinery:reset" //Mandatory to define a reset element.
Optional properties
Example
A basic reset gui element :
{
"type": "custommachinery:reset",
"x": 20,
"y": 20
}

Last updated