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


import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.fluids.FluidStack;
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.ValueObjectTypeFluidStack;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeLong;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypes;
import org.cyclops.integratedtunnels.capability.network.FluidNetworkConfig;
package org.cyclops.integratedtunnels.part.aspect.operator;


/**
 * @author rubensworks
 */
public class PositionedOperatorIngredientIndexFluid extends PositionedOperatorIngredientIndex<FluidStack, Integer> {
    public PositionedOperatorIngredientIndexFluid(DimPos pos, Direction side, int channel) {
        super("countbyfluid", new Function(), ValueTypes.OBJECT_FLUIDSTACK, ValueTypes.LONG, pos, side, channel);
    }

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


// Path: src/main/java/org/cyclops/integratedtunnels/part/aspect/operator/PositionedOperatorIngredientIndexFluid.java
import net.minecraft.util.Direction;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.fluids.FluidStack;
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.ValueObjectTypeFluidStack;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypeLong;
import org.cyclops.integrateddynamics.core.evaluate.variable.ValueTypes;
import org.cyclops.integratedtunnels.capability.network.FluidNetworkConfig;

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


/**
 * @author rubensworks
 */
public class PositionedOperatorIngredientIndexFluid extends PositionedOperatorIngredientIndex<FluidStack, Integer> {
    public PositionedOperatorIngredientIndexFluid(DimPos pos, Direction side, int channel) {
        super("countbyfluid", new Function(), ValueTypes.OBJECT_FLUIDSTACK, ValueTypes.LONG, pos, side, channel);
    }

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