Working core
Make the recipe run only if another core is running
Working core requirement is used to make the recipe work only if the machine is processing another recipe at the same time.
To be used, the machine must be using the machine processor. and the amount
of cores must be above 1.
Depending of the following properties, the requirement can require any or a specific core (defined by its integer id) to process any or a specific recipe (defined by its id).
The requirement type of working core requirement is : "custommachinery:working_core"
.
Properties
The working core requirement has 1 mandatory property and 2 optional properties.
Mandatory property
"type": "custommachinery:working_core" //Mandatory to define a working core requirement.
Optional properties
Example
A working core requirement that will make the recipe start only if the core 1 is processing the recipe with id "custommachinery:test_recipe" :
{
"type": "custommachinery:working_core",
"core": 1,
"recipe": "custommachinery:test_recipe"
}
A working core requirement that will make the recipe start only if any other core is working :
{
"type": "custommachinery:working_core"
}
Last updated