Mojira Archive
MC-269723

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:

  1. Get the following item:
    /give @p minecraft:allay_spawn_egg[food={nutrition:1,saturation_modifier:1}]
    
  2. 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.

Won't Fix

[Mod] Jiingy

2024-03-21, 05:07 PM

2024-03-22, 08:05 AM

2024-03-22, 08:05 AM

0

1

Confirmed

Items

component, food_component, spawn_egg

24w12a

-