In the item modifier of the loot table, the card on the top is the same as the card on the bottom, but the data type of the card's data is different when the data is retrieved (as shown in the figure)As for the details, please see attachments
[media][media]
Attachments
Comments 2
You should be able to specify the type using stringified NBT as follows:
"custom_data": "{card:4b}"
Please report back if that solves your issue.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Specify the custom data as a SNBT string, not an object.