public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(par1ItemStack.stackTagCompound.getIteger("onItemRightClickDelay") == 0) {
par1ItemStack.stackTagCompound.setInteger("onItemRightClickDelay", 5);
//do stuff
}
}
Then you can either tick that value down in onUpdate or you can wait for the onItemStoppedUsing (sp?) and set it back to zero