Item filter
Make the recipe requires a filter slot to be set to a specific item.
The item filter requirement will make the recipe requires an item component set to Filter variant to be set to a specific item.
If the filter slot is cleared during the recipe processing the machine will stop and display an error, if the filter is set again the process will resume.
The requirement type of item filter requirement is : "custommachinery:item_filter"
.
Requirements
The item filter requirement has 2 mandatory properties and 1 optional property :
Mandatory properties
Optional property
Example
An item filter requirement that will make the recipe run only if the filter slot "filter1" is set to a vanilla diamond :
Last updated