Spawn egg items cannot be eaten when they have a food component set. Instead, holding right click will only either use the spawn egg, or do nothing.
Steps to Reproduce:
Get the following item:
/give @p minecraft:allay_spawn_egg[food={nutrition:1,saturation_modifier:1}]
Try and eat it
Observed & Expected Results:
❌ - The item is not edible, even when looking away from any block faces.
✔ - The item would be edible, as it's primary function is not possible to execute.
Linked issues
relates to 10
5 more links
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