Integrated Dynamics - On the Dynamics of Integration

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.

Operator(运算符)
物品所属Modmod指定物品对应的Mod名称
  • Item(物品)
  • String(字符串)
Global name: itemstackMod(Item(物品)) → String(字符串)Method name: Item(物品).mod() → String(字符串)
Operator(运算符)
等于==输入1和2的类型必须相同
  • §rAny(任意)§0
  • §rAny(任意)§0
  • Boolean(布尔)
Global name: anyEquals(§rAny(任意)§0, §rAny(任意)§0) → Boolean(布尔)Method name: §rAny(任意)§0.equals(§rAny(任意)§0) → Boolean(布尔)
Operator(运算符)
一元apply用指定的值执行运算符
  • Operator(运算符)
  • §rAny(任意)§0
  • §rAny(任意)§0
Global name: operatorApply(Operator(运算符), §rAny(任意)§0) → §rAny(任意)§0Method name: Operator(运算符).apply(§rAny(任意)§0) → §rAny(任意)§0
Operator(运算符)
管道.创建一个新的运算符,将输入的第一个操作的输出值传递给第二个运算符
  • Operator(运算符)
  • Operator(运算符)
  • Operator(运算符)
Global name: operatorPipe(Operator(运算符)Operator(运算符)) → Operator(运算符)Method name: Operator(运算符).pipe(Operator(运算符)) → Operator(运算符)
检测类型
Filter Items PredicatePass all items that match the given predicate.

输入: Operator(运算符)

属性:
  • Apply to Insertions
  • Apply to Extractions
  • Allow if not applied
Advancements
  • Filter Item Storage by ModUse a Filtering Item Interface to only pass items from a certain mod
Rewards
Filtering Item Interface5
Filtering Fluid Interface5
Filtering Energy Interface5