Filter voorwerpopslag op mod
Using the Filtering Item Interface, attach a Chest to your network, and configure a predicate-based filter that only passes items from the Integrated Dynamics 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 Operator value containing the Relational Equals operator. Next, create a String containing the IntegratedDynamics value (without space). 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 Operator 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 Integrated Dynamics mod, which can be customized by changing our String constant.
- Voorwerp
- Tekenreeks
- Willekeurig
- Willekeurig
- Booleaanse waarde
- Operator
- Willekeurig
- Willekeurig
- Operator
- Operator
- Operator
Invoer: Operator
- Apply to Insertions
- Apply to Extractions
- Allow if not applied