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.