// Path: src/main/java/org/cyclops/integratedtunnels/capability/network/ItemNetworkConfig.java
// public class ItemNetworkConfig extends CapabilityConfig<IItemNetwork> {
// 
//     @CapabilityInject(IItemNetwork.class)
//     public static Capability<IItemNetwork> CAPABILITY = null;
// 
//     public ItemNetworkConfig() {
//         super(
//                 CommonCapabilities._instance,
//                 "itemNetwork",
//                 IItemNetwork.class,
//                 new DefaultCapabilityStorage<IItemNetwork>(),
//                 () -> new ItemNetwork(null)
//         );
//     }
// 
// }


import net.minecraft.item.ItemStack;
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import org.cyclops.cyclopscore.datastructure.DimPos;
import org.cyclops.integrateddynamics.api.evaluate.EvaluationException;
import org.cyclops.integrateddynamics.api.evaluate.variable.IValue;
import org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueObjectTypeItemStack;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeLong;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypes;
import org.cyclops.integratedtunnels.capability.network.ItemNetworkConfig;
package org.cyclops.integratedtunnels.part.aspect.operator;


/**
 * @author rubensworks
 */
public class PositionedOperatorIngredientIndexItem extends PositionedOperatorIngredientIndex<ItemStack, Integer> {
    public PositionedOperatorIngredientIndexItem(DimPos pos, Direction side, int channel) {
        super("countbyitem", new Function(), ValueTypes.OBJECT_ITEMSTACK, ValueTypes.LONG, pos, side, channel);
    }

    @Override
    protected Capability<? extends IPositionedAddonsNetworkIngredients<ItemStack, Integer>> getNetworkCapability() {
// Path: src/main/java/org/cyclops/integratedtunnels/capability/network/ItemNetworkConfig.java
// public class ItemNetworkConfig extends CapabilityConfig<IItemNetwork> {
// 
//     @CapabilityInject(IItemNetwork.class)
//     public static Capability<IItemNetwork> CAPABILITY = null;
// 
//     public ItemNetworkConfig() {
//         super(
//                 CommonCapabilities._instance,
//                 "itemNetwork",
//                 IItemNetwork.class,
//                 new DefaultCapabilityStorage<IItemNetwork>(),
//                 () -> new ItemNetwork(null)
//         );
//     }
// 
// }


// Path: src/main/java/org/cyclops/integratedtunnels/part/aspect/operator/PositionedOperatorIngredientIndexItem.java
import net.minecraft.item.ItemStack;
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import org.cyclops.cyclopscore.datastructure.DimPos;
import org.cyclops.integrateddynamics.api.evaluate.EvaluationException;
import org.cyclops.integrateddynamics.api.evaluate.variable.IValue;
import org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueObjectTypeItemStack;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeLong;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypes;
import org.cyclops.integratedtunnels.capability.network.ItemNetworkConfig;

package org.cyclops.integratedtunnels.part.aspect.operator;


/**
 * @author rubensworks
 */
public class PositionedOperatorIngredientIndexItem extends PositionedOperatorIngredientIndex<ItemStack, Integer> {
    public PositionedOperatorIngredientIndexItem(DimPos pos, Direction side, int channel) {
        super("countbyitem", new Function(), ValueTypes.OBJECT_ITEMSTACK, ValueTypes.LONG, pos, side, channel);
    }

    @Override
    protected Capability<? extends IPositionedAddonsNetworkIngredients<ItemStack, Integer>> getNetworkCapability() {
        return ItemNetworkConfig.CAPABILITY;