Filter Item Storage by Mod
Using the Filtering Item Interface, attach a Chest to your network, and configure a predicate-based filter that only passes items from the IntegratedDynamics mod. To do this, we will create a new operator that will take an Item as input, and returns a Boolean as output.
To do this, first create an Operators value containing the Relational Equals operator. Next, create a String containing the IntegratedDynamics value. And then, use the Apply operator to partially apply your Relational Equals operator to your String value.
As a next step, we have to create another Operators value, but this time containing the Item Mod operator. And now, we can use the Pipe operator to pipe our Item Mod operator into our partially applied operator from the previous step.
This result from the Pipe operator can be placed into the predicate-based aspect of your Filtering Item Interface, and all variables we depend on need to be placed into a Variable Store. If all steps are followed correctly, the filter will only pass items from the IntegratedDynamics mod, which can be customized by changing our String constant.
- Item
- String
- §rAny§0
- §rAny§0
- Boolean
- Operator
- §rAny§0
- §rAny§0
- Operator
- Operator
- Operator
Input: Operator
- Apply to Insertions
- Apply to Extractions
- Allow if not applied