// Path: src/main/java/infstudio/exoticpower/block/EPBlocks.java
// public class EPBlocks {
// 
//     public static final ArrayList<Block> blockList = new ArrayList<Block>();
//     public static Block soulore, assemblymachine, elementgenerator, nodedetector, puncher,
//             teleporter, diamondpipe, testgui;
// 
//     public static void init() {
//         soulore = new BlockSoulOre();
//         assemblymachine = new MachineAssembly();
//         elementgenerator = new MachineElementGenerator();
//         nodedetector = new MachineNodeDetector();
//         puncher = new MachinePuncher();
//         teleporter = new MachineTeleporter();
//         diamondpipe = new PipeDiamond();
//         testgui = new BlockTestGui();
//         for (Block block : blockList) {
//             GameRegistry.registerBlock(block, block.getUnlocalizedName());
//         }
//     }
// }
// 
// Path: src/main/java/infstudio/exoticpower/item/EPItems.java
// public class EPItems {
// 
//     public static final ArrayList<Item> itemList = new ArrayList<Item>();
//     public static Item soulfire, powergun, wrench, enrichmentcrystal;
// 
//     public static void init() {
//         soulfire = new ItemSoulFire();
//         powergun = new ItemPowerGun();
//         wrench = new ItemWrench();
//         enrichmentcrystal = new ItemEnrichmentCrystal();
//         for (Item item : itemList) {
//             GameRegistry.registerItem(item, item.getUnlocalizedName());
//         }
//     }
// 
// }


import infstudio.exoticpower.block.EPBlocks;
import infstudio.exoticpower.item.EPItems;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelBakery;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
package infstudio.exoticpower.proxy;


public class ClientProxy extends CommonProxy {

    public void preInit(FMLPreInitializationEvent event) {

    }

    public void init(FMLInitializationEvent event) {
        super.init(event);
        this.registerBlockModels();
        this.registerItemModels();
    }

    public void postInit(FMLPostInitializationEvent event) {

    }

    public void registerBlockModels() {
        for (Block block : EPBlocks.blockList) {
            Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block),
                    0, new ModelResourceLocation("ExoticPower:" + block.getUnlocalizedName(), "inventory"));
        }
    }

    public void registerItemModels() {
// Path: src/main/java/infstudio/exoticpower/block/EPBlocks.java
// public class EPBlocks {
// 
//     public static final ArrayList<Block> blockList = new ArrayList<Block>();
//     public static Block soulore, assemblymachine, elementgenerator, nodedetector, puncher,
//             teleporter, diamondpipe, testgui;
// 
//     public static void init() {
//         soulore = new BlockSoulOre();
//         assemblymachine = new MachineAssembly();
//         elementgenerator = new MachineElementGenerator();
//         nodedetector = new MachineNodeDetector();
//         puncher = new MachinePuncher();
//         teleporter = new MachineTeleporter();
//         diamondpipe = new PipeDiamond();
//         testgui = new BlockTestGui();
//         for (Block block : blockList) {
//             GameRegistry.registerBlock(block, block.getUnlocalizedName());
//         }
//     }
// }
// 
// Path: src/main/java/infstudio/exoticpower/item/EPItems.java
// public class EPItems {
// 
//     public static final ArrayList<Item> itemList = new ArrayList<Item>();
//     public static Item soulfire, powergun, wrench, enrichmentcrystal;
// 
//     public static void init() {
//         soulfire = new ItemSoulFire();
//         powergun = new ItemPowerGun();
//         wrench = new ItemWrench();
//         enrichmentcrystal = new ItemEnrichmentCrystal();
//         for (Item item : itemList) {
//             GameRegistry.registerItem(item, item.getUnlocalizedName());
//         }
//     }
// 
// }


// Path: src/main/java/infstudio/exoticpower/proxy/ClientProxy.java
import infstudio.exoticpower.block.EPBlocks;
import infstudio.exoticpower.item.EPItems;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelBakery;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

package infstudio.exoticpower.proxy;


public class ClientProxy extends CommonProxy {

    public void preInit(FMLPreInitializationEvent event) {

    }

    public void init(FMLInitializationEvent event) {
        super.init(event);
        this.registerBlockModels();
        this.registerItemModels();
    }

    public void postInit(FMLPostInitializationEvent event) {

    }

    public void registerBlockModels() {
        for (Block block : EPBlocks.blockList) {
            Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block),
                    0, new ModelResourceLocation("ExoticPower:" + block.getUnlocalizedName(), "inventory"));
        }
    }

    public void registerItemModels() {
        for (Item item : EPItems.itemList) {