public override ItemStack OnFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { par1ItemStack.StackSize--; if (!par2World.IsRemote) { par3EntityPlayer.ClearActivePotions(); } if (par1ItemStack.StackSize <= 0) { return(new ItemStack(Item.BucketEmpty)); } else { return(par1ItemStack); } }