// Path: src/main/java/org/cyclops/integratedtunnels/core/network/FluidNetwork.java
// public class FluidNetwork extends PositionedAddonsNetworkIngredients<FluidStack, Integer> implements IFluidNetwork {
// 
//     public FluidNetwork(IngredientComponent<FluidStack, Integer> component) {
//         super(component);
//     }
// 
//     @Override
//     public long getRateLimit() {
//         return GeneralConfig.fluidRateLimit;
//     }
// }
// 
// Path: src/main/java/org/cyclops/integratedtunnels/core/network/ItemNetwork.java
// public class ItemNetwork extends PositionedAddonsNetworkIngredients<ItemStack, Integer> implements IItemNetwork {
// 
//     public ItemNetwork(IngredientComponent<ItemStack, Integer> component) {
//         super(component);
//     }
// 
//     @Override
//     public long getRateLimit() {
//         return 64;
//     }
// }


import net.minecraft.util.ResourceLocation;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fluids.capability.CapabilityFluidHandler;
import net.minecraftforge.fluids.capability.IFluidHandler;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import org.cyclops.commoncapabilities.api.ingredient.IngredientComponent;
import org.cyclops.cyclopscore.modcompat.capabilities.DefaultCapabilityProvider;
import org.cyclops.integrateddynamics.Reference;
import org.cyclops.integrateddynamics.api.network.AttachCapabilitiesEventNetwork;
import org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients;
import org.cyclops.integratedtunnels.core.network.FluidNetwork;
import org.cyclops.integratedtunnels.core.network.ItemNetwork;
package org.cyclops.integratedtunnels.capability.network;


/**
 * Constructor event for network capabilities.
 * @author rubensworks
 */
public class TunnelNetworkCapabilityConstructors {

    @SubscribeEvent
    public void onNetworkLoad(AttachCapabilitiesEventNetwork event) {
// Path: src/main/java/org/cyclops/integratedtunnels/core/network/FluidNetwork.java
// public class FluidNetwork extends PositionedAddonsNetworkIngredients<FluidStack, Integer> implements IFluidNetwork {
// 
//     public FluidNetwork(IngredientComponent<FluidStack, Integer> component) {
//         super(component);
//     }
// 
//     @Override
//     public long getRateLimit() {
//         return GeneralConfig.fluidRateLimit;
//     }
// }
// 
// Path: src/main/java/org/cyclops/integratedtunnels/core/network/ItemNetwork.java
// public class ItemNetwork extends PositionedAddonsNetworkIngredients<ItemStack, Integer> implements IItemNetwork {
// 
//     public ItemNetwork(IngredientComponent<ItemStack, Integer> component) {
//         super(component);
//     }
// 
//     @Override
//     public long getRateLimit() {
//         return 64;
//     }
// }


// Path: src/main/java/org/cyclops/integratedtunnels/capability/network/TunnelNetworkCapabilityConstructors.java
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fluids.capability.CapabilityFluidHandler;
import net.minecraftforge.fluids.capability.IFluidHandler;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import org.cyclops.commoncapabilities.api.ingredient.IngredientComponent;
import org.cyclops.cyclopscore.modcompat.capabilities.DefaultCapabilityProvider;
import org.cyclops.integrateddynamics.Reference;
import org.cyclops.integrateddynamics.api.network.AttachCapabilitiesEventNetwork;
import org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients;
import org.cyclops.integratedtunnels.core.network.FluidNetwork;
import org.cyclops.integratedtunnels.core.network.ItemNetwork;

package org.cyclops.integratedtunnels.capability.network;


/**
 * Constructor event for network capabilities.
 * @author rubensworks
 */
public class TunnelNetworkCapabilityConstructors {

    @SubscribeEvent
    public void onNetworkLoad(AttachCapabilitiesEventNetwork event) {
        ItemNetwork itemNetwork = new ItemNetwork(IngredientComponent.ITEMSTACK);