Spawn eggs cannot be eaten when a food component is set
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 to10
Created Issue:
Spawn eggs cannot be eaten when a food component is set
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.
Notes:
relates to
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.
Notes:
When an item that can be tinted is given the consumable component (with has_consume_particles set to true), its particles will not be tinted the same colour as the item.
This affects leather armour, dyed wolf armour, potions, tipped arrows, coloured firework stars, and all types of tinted foliage such as leaves and grass. This would in theory also affect spawn eggs but, due to MC-269723, that cannot be observed.
How to Reproduce:
- Use this command to give yourself a consumable leather helmet that has been dyed magenta:
/give @s leather_helmet[consumable={},dyed_color=16711935] - Start eating it
Observed Behaviour:
The particles produced are always white, regardless of what the dyed_color value is.
Expected Behaviour:
The particles match the tint colour of the item.
This also affects leather armour, dyed wolf armour, potions, tipped arrows, coloured firework stars, grass blocks, and all types of tinted foliage. This would in theory also affect spawn eggs but, due to MC-269723, that cannot be observed. This also does not affect azalea leaves which the current description seems to suggest.
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