// Path: src/codechicken/wirelessredstone/core/WirelessRedstoneCore.java
// @Mod(modid = "WR-CBE|Core", dependencies = "required-after:CodeChickenCore@[" + CodeChickenCorePlugin.version + ",);" +
//         "required-after:ForgeMultipart")//have to make sure it's before all mods within this container until FML fixes proxy injection.
// public class WirelessRedstoneCore
// {
//     public static Item obsidianStick;
//     public static Item stoneBowl;
//     public static Item retherPearl;
//     public static Item wirelessTransceiver;
//     public static Item blazeTransceiver;
//     public static Item recieverDish;
//     public static Item blazeRecieverDish;
// 
//     public static DamageSource damagebolt;
//     public static final String channel = "WRCBE";
// 
//     @SidedProxy(clientSide = "codechicken.wirelessredstone.core.WRCoreClientProxy",
//             serverSide = "codechicken.wirelessredstone.core.WRCoreProxy")
//     public static WRCoreProxy proxy;
// 
//     @EventHandler
//     public void preInit(FMLPreInitializationEvent event) {
//         proxy.preInit();
//     }
// 
//     @EventHandler
//     public void init(FMLInitializationEvent event) {
//         proxy.init();
//     }
// 
//     @EventHandler
//     public void serverStarting(FMLServerStartingEvent event) {
//         CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager();
//         commandManager.registerCommand(new CommandFreq());
//     }
// }
// 
// Path: src/codechicken/wirelessredstone/logic/WirelessRedstoneLogic.java
// @Mod(modid = "WR-CBE|Logic", dependencies = "required-after:WR-CBE|Core;required-after:ForgeMultipart")
// public class WirelessRedstoneLogic
// {
//     public static Item itemwireless;
//     
//     @SidedProxy(clientSide="codechicken.wirelessredstone.logic.WRLogicClientProxy", 
//             serverSide="codechicken.wirelessredstone.logic.WRLogicProxy")
//     public static WRLogicProxy proxy;
//     
//     @EventHandler
//     public void preInit(FMLPreInitializationEvent event)
//     {
//     }
//     
//     @EventHandler
//     public void init(FMLInitializationEvent event)
//     {
//         proxy.init();
//     }
// }


import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.ShapedOreRecipe;
import codechicken.multipart.MultiPartRegistry;
import codechicken.multipart.MultipartGenerator;
import codechicken.multipart.TMultiPart;
import codechicken.multipart.MultiPartRegistry.IPartFactory;
import codechicken.wirelessredstone.core.WirelessRedstoneCore;
import cpw.mods.fml.common.registry.GameRegistry;
import static codechicken.wirelessredstone.logic.WirelessRedstoneLogic.*;
package codechicken.wirelessredstone.logic;




public class WRLogicProxy implements IPartFactory
{
    public void init()
    {  
        MultiPartRegistry.registerParts(this, new String[]{
                "wrcbe-tran",
                "wrcbe-recv",
                "wrcbe-jamm"
        });

        MultipartGenerator.registerPassThroughInterface("codechicken.wirelessredstone.core.ITileWireless");
        MultipartGenerator.registerPassThroughInterface("codechicken.wirelessredstone.core.ITileReceiver");
        MultipartGenerator.registerPassThroughInterface("codechicken.wirelessredstone.core.ITileJammer");
        //until CC proper integration
        //MultipartGenerator.registerPassThroughInterface("dan200.computer.api.IPeripheral");
        
        itemwireless = new ItemWirelessPart().setCreativeTab(CreativeTabs.tabRedstone);
        GameRegistry.registerItem(itemwireless, "wirelessLogic");

        addRecipies();
    }
    
    private static void addRecipies()
    {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(itemwireless, 1, 0),
                "t  ",
                "srr",
                "fff",
// Path: src/codechicken/wirelessredstone/core/WirelessRedstoneCore.java
// @Mod(modid = "WR-CBE|Core", dependencies = "required-after:CodeChickenCore@[" + CodeChickenCorePlugin.version + ",);" +
//         "required-after:ForgeMultipart")//have to make sure it's before all mods within this container until FML fixes proxy injection.
// public class WirelessRedstoneCore
// {
//     public static Item obsidianStick;
//     public static Item stoneBowl;
//     public static Item retherPearl;
//     public static Item wirelessTransceiver;
//     public static Item blazeTransceiver;
//     public static Item recieverDish;
//     public static Item blazeRecieverDish;
// 
//     public static DamageSource damagebolt;
//     public static final String channel = "WRCBE";
// 
//     @SidedProxy(clientSide = "codechicken.wirelessredstone.core.WRCoreClientProxy",
//             serverSide = "codechicken.wirelessredstone.core.WRCoreProxy")
//     public static WRCoreProxy proxy;
// 
//     @EventHandler
//     public void preInit(FMLPreInitializationEvent event) {
//         proxy.preInit();
//     }
// 
//     @EventHandler
//     public void init(FMLInitializationEvent event) {
//         proxy.init();
//     }
// 
//     @EventHandler
//     public void serverStarting(FMLServerStartingEvent event) {
//         CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager();
//         commandManager.registerCommand(new CommandFreq());
//     }
// }
// 
// Path: src/codechicken/wirelessredstone/logic/WirelessRedstoneLogic.java
// @Mod(modid = "WR-CBE|Logic", dependencies = "required-after:WR-CBE|Core;required-after:ForgeMultipart")
// public class WirelessRedstoneLogic
// {
//     public static Item itemwireless;
//     
//     @SidedProxy(clientSide="codechicken.wirelessredstone.logic.WRLogicClientProxy", 
//             serverSide="codechicken.wirelessredstone.logic.WRLogicProxy")
//     public static WRLogicProxy proxy;
//     
//     @EventHandler
//     public void preInit(FMLPreInitializationEvent event)
//     {
//     }
//     
//     @EventHandler
//     public void init(FMLInitializationEvent event)
//     {
//         proxy.init();
//     }
// }


// Path: src/codechicken/wirelessredstone/logic/WRLogicProxy.java
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.ShapedOreRecipe;
import codechicken.multipart.MultiPartRegistry;
import codechicken.multipart.MultipartGenerator;
import codechicken.multipart.TMultiPart;
import codechicken.multipart.MultiPartRegistry.IPartFactory;
import codechicken.wirelessredstone.core.WirelessRedstoneCore;
import cpw.mods.fml.common.registry.GameRegistry;
import static codechicken.wirelessredstone.logic.WirelessRedstoneLogic.*;

package codechicken.wirelessredstone.logic;




public class WRLogicProxy implements IPartFactory
{
    public void init()
    {  
        MultiPartRegistry.registerParts(this, new String[]{
                "wrcbe-tran",
                "wrcbe-recv",
                "wrcbe-jamm"
        });

        MultipartGenerator.registerPassThroughInterface("codechicken.wirelessredstone.core.ITileWireless");
        MultipartGenerator.registerPassThroughInterface("codechicken.wirelessredstone.core.ITileReceiver");
        MultipartGenerator.registerPassThroughInterface("codechicken.wirelessredstone.core.ITileJammer");
        //until CC proper integration
        //MultipartGenerator.registerPassThroughInterface("dan200.computer.api.IPeripheral");
        
        itemwireless = new ItemWirelessPart().setCreativeTab(CreativeTabs.tabRedstone);
        GameRegistry.registerItem(itemwireless, "wirelessLogic");

        addRecipies();
    }
    
    private static void addRecipies()
    {
        GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(itemwireless, 1, 0),
                "t  ",
                "srr",
                "fff",
                't', WirelessRedstoneCore.wirelessTransceiver,