Button
Make the recipe start only if a button is pressed on the machine gui.
Button requirement is used to make the custom machine recipe start only when the player press a button in the machine gui.
The button requirement is an input only requirement, meaning that you don't have to define the mode
property.
The type of button requirement is : "custommachinery:button"
.
Properties
The button requirement has 2 mandatory properties and 1 optional property.
Mandatory properties
Optional property
Example
A button requirement that will make the recipe start only if the button element with id diamond
is pressed by the player :
Last updated