It's a block by the way.
Also keep in mind that I started writing this mod only yesterday so there's not much yet.
package ninehous.compressedblocks.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.ItemStack;
import ninehous.compressedblocks.CompressedBlocks;
import cpw.mods.fml.common.registry.GameRegistry;
public class BlockCompressedFlint extends Block {
public static Block blockCompressedFlint;
public BlockCompressedFlint(){
super(Material.rock);
}
public static void init(){
BlockCompressedFlint.blockCompressedFlint = new BlockCompressedFlint().setBlockName("blockCompressedFlint").setCreativeTab(CompressedBlocks.CBTab).setBlockTextureName(CompressedBlocks.modid + ":" + "blockCompressedFlint");
GameRegistry.registerBlock(blockCompressedFlint, "blockCompressedFlint");
GameRegistry.addRecipe(new ItemStack(blockCompressedFlint, 1), new Object[]{"fff", "fff", "fff", Character.valueOf('f'), new ItemStack(BlockFlint.blockFlint, 1)});
GameRegistry.addShapelessRecipe(new ItemStack(BlockFlint.blockFlint, 9), blockCompressedFlint);
}
}