package rewbot.minecraft.tutorial.render;

import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemModelMesher;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.item.Item;
import rewbot.minecraft.tutorial.Main;
import rewbot.minecraft.tutorial.items.MmaItems;

/**
 * Created by ashepherd on 5/17/2016.
 */
public class MmaItemRender {

    public static void registerItemRender() {
        //Tools
        registerItem(MmaItems.laconianPickaxe);
        registerItem(MmaItems.laconianAxe);
        registerItem(MmaItems.laconianSpade);
        registerItem(MmaItems.laconianHoe);
        registerItem(MmaItems.laconianSword);
        registerItem(MmaItems.shaleMattock);
        registerItem(MmaItems.resinHarvester);

        //Armor
        registerItem(MmaItems.laconianHelmet);
        registerItem(MmaItems.laconianChestplate);
        registerItem(MmaItems.laconianLeggings);
        registerItem(MmaItems.laconianBoots);

        //Ingots
        registerItem(MmaItems.copperIngot);
        registerItem(MmaItems.laconianIngot);

        //Gems
        registerItem(MmaItems.topazStone);

        //Fuels
        registerItem(MmaItems.treeResin);
        registerItem(MmaItems.viscinousGel);
    }

    private static void registerItem(Item item) {
        ItemModelMesher itemModelMesher = Minecraft.getMinecraft().getRenderItem().getItemModelMesher();
        itemModelMesher.register(item, 0, new ModelResourceLocation(Main.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
    }

}

@@ -707,102 +707,8 @@
 d);%0D
-%0A        registerItem(MmaItems.shaleMattock);%0D%0A        registerItem(MmaItems.resinHarvester);%0D
 %0A%0D%0A 
@@ -1160,54 +1160,8 @@
 );%0D%0A
-        registerItem(MmaItems.viscinousGel);%0D%0A
     

Remove non-existant items from renderer