package com.teamrune.symbology.items;

import com.teamrune.symbology.Symbology;
import net.minecraft.item.Item;

public class ItemMortar extends Item
{
    public ItemMortar()
    {
        super();
        setMaxDamage(256);
        setMaxStackSize(1);
        setCreativeTab(Symbology.symbologyTab);
        setUnlocalizedName("mortar");
    }
}

package com.teamrune.symbology.items;

import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

import com.teamrune.symbology.Symbology;

public class ItemMortar extends Item
{
    public ItemMortar()
    {
        super();
        setMaxDamage(256);
        setMaxStackSize(1);
        setCreativeTab(Symbology.symbologyTab);
        setUnlocalizedName("mortar");
    }
    
    public boolean doesContainerItemLeaveCraftingGrid(ItemStack itemstack)
    {
    	return true;
    }
    
    @Override
    public boolean isDamageable()
    {
    	return true;
    }
    
    @Override
    public boolean hasContainerItem(ItemStack itemstack)
    {
    	return true;
    }
   
    @Override
    public ItemStack getContainerItem(ItemStack itemStack)
    {
        ItemStack cStack = itemStack.copy();
       cStack.setItemDamage(cStack.getItemDamage() + 1);
        cStack.stackSize = 1;
        return cStack;
    }
}

Add code to Mortar