How to Reproduce
Summon a entity with invalid DeathLootTable
/summon pig ~ ~ ~ {DeathLootTable:"minecraft:",NoAI:1b}
Read that field
/data get entity @n[type=pig] DeathLootTable
Expected Behaviour
{color:red}Found no elements matching DeathLootTable{color}
Observed Behaviour
Pig has the following entity data: "minecraft:" (although it does drop nothing).
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm.