mojira.dev
MC-272970

Stew items with a [minecraft:food] component don't return Bowls when eaten

The issue is as the title says. When trying to eat any kind of Stew (Mushroom Stew, Rabbit Stew, Suspicious Stew) with the [minecraft:food] component, they will not return the bowl like they normally would.

To return the bowl, the [using_converts_to] food component is required–but that leads to a different bug (I have also reported that as well)

How to replicate:

  1. Copy and paste this command:
    /give @p minecraft:mushroom_stew[food={nutrition:1,saturation:0,can_always_eat:true}]
    (The "can_always_eat" area is just for ease of testing, it doesn't affect the bug)

  2. Eat the mushroom stew item.

  3. Observe that it doesn't return any bowls.

The only time it will return a bowl back is if the [minecraft:food] component is removed.

My assumption is that the component causes the item it's used on to lose its original properties, including any Stew items returning bowls.

Linked issues

Comments 3

If you override the food component, you also need to provide the using_converts_to field.

Adding onto what was stated previously, here is a correct command which provides the expected result:

/give @p rabbit_stew[minecraft:food={can_always_eat:true,eat_seconds:0.05,nutrition:1,saturation:0,using_converts_to:{id:"bowl"}}] 1

Resolving as invalid as this appears to be an issue with the command used. Please see Jingy's comment below.

regfunkid

(Unassigned)

Unconfirmed

(Unassigned)

1.21 Pre-Release 2, 1.21 Pre-Release 3

Retrieved