here is my crafting recipe
and here is the paste bin: http://pastebin.com/mm16cruh or otherwise read below and ty for you're reply
package com.jacob.Main;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import com.jacob.blocks.MBlocks;
import com.jacob.item.MItems;
import cpw.mods.fml.common.registry.GameRegistry;
public class CraftingManeger {
public static void mainRegistry(){
addCraftingrec();
addSmeltingrec();
}
public static void addCraftingrec(){
//shaped
GameRegistry.addRecipe(new ItemStack(MBlocks.ComStone, 1), new Object[]{"XXX","XXX","XXX", 'X', Blocks.stone});
GameRegistry.addRecipe(new ItemStack(MItems.oStick, 1), new Object[]{" X ",","," X ", 'X',Blocks.obsidian});
//shapeless
GameRegistry.addShapelessRecipe(new ItemStack(Items.diamond, 1), new Object[]{"SCO"}, 'S', Blocks.stone, 'C', MBlocks.ComStone, 'O', Blocks.obsidian );
}
public static void addSmeltingrec(){
GameRegistry.addSmelting(Blocks.coal_block, new ItemStack(Blocks.obsidian, 1), 20.0f);
}
}