// Path: src/api/java/appeng/api/config/TunnelType.java
// public enum TunnelType
// {
// 	ME, // Network Tunnel
// 	BC_POWER, // MJ Tunnel
// 	IC2_POWER, // EU Tunnel
// 	RF_POWER, // RF Tunnel
// 	REDSTONE, // Redstone Tunnel
// 	FLUID, // Fluid Tunnel
// 	ITEM // Item Tunnel
// }


import net.minecraft.item.ItemStack;
import appeng.api.config.TunnelType;
package appeng.api.features;


/**
 * A Registry for how p2p Tunnels are attuned
 */
public interface IP2PTunnelRegistry
{

	/**
	 * Allows third parties to register items from their mod as potential
	 * attunements for AE's P2P Tunnels
	 * 
	 * @param trigger
	 *            - the item which triggers attunement
	 * @param type
	 *            - the type of tunnel
	 */
// Path: src/api/java/appeng/api/config/TunnelType.java
// public enum TunnelType
// {
// 	ME, // Network Tunnel
// 	BC_POWER, // MJ Tunnel
// 	IC2_POWER, // EU Tunnel
// 	RF_POWER, // RF Tunnel
// 	REDSTONE, // Redstone Tunnel
// 	FLUID, // Fluid Tunnel
// 	ITEM // Item Tunnel
// }


// Path: src/api/java/appeng/api/features/IP2PTunnelRegistry.java
import net.minecraft.item.ItemStack;
import appeng.api.config.TunnelType;

package appeng.api.features;


/**
 * A Registry for how p2p Tunnels are attuned
 */
public interface IP2PTunnelRegistry
{

	/**
	 * Allows third parties to register items from their mod as potential
	 * attunements for AE's P2P Tunnels
	 * 
	 * @param trigger
	 *            - the item which triggers attunement
	 * @param type
	 *            - the type of tunnel
	 */
	public abstract void addNewAttunement(ItemStack trigger, TunnelType type);