Exclamation Mark Components Do Not Parse In /give Command
Despite showing up within the results of the /data command and being possible through a loot table, the syntax to include an exclamation mark component, to say, remove the ability for a bundle to pick up items through !minecraft:bundle_contents is not parsed through the /give command.
Created Issue:
Exclamation Mark Components Do Not Parse In /give Command
Despite showing up within the results of the /data command and being possible through a loot table, the syntax to include an exclamation mark component, to say, remove the ability for a bundle to pick up items through !minecraft:bundle_contents is not parsed through the /give command.
relates to
relates to
Thank you for your report!
However, this issue is Invalid.
Following the similar issue MC-269337:
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The Minecraft Feedback Site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Yeah, Mojang is definitely aware that the exclamation mark syntax currently doesn't work everywhere – you can see that MC-269337 was similarly resolved as feature request but that feature was nevertheless added later.
Also note that during testing this we found that the /data modify command doesn't actually transfer the exclamation mark component at all to the buy slot; so it's not just an interface issue. That slot just doesn't support exclamation mark components yet.

Proof added
Can confirm, also affects 1.20.4.
Thank you for your report!
After consideration, the issue is being closed as Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
So, just to be clear, it's a feature request to have the /give command be able to give the player something that can be seen in the /data command results, despite the fact that this is inconsistent with every other situation?
This is now a feature in the game btw