When I played survival I tried to distract piglins with gold ingots to see if they don't anger at my opening their chests, and to my surprise it worked. They are supposed to stop bartering just like hitting them while they are admiring gold does. Presumably works with other items in the tag as well.
Thank you for your report!
We're tracking this issue as MC-172097, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki