Mojira Archive
MC-270924

Item Stack Component "food" doesn't work on potions

Issue:

Item Stack Component "food" does not work on potions.

 

How to Reproduce:

Get yourself a potion with a food component:

/give @s minecraft:potion[food={can_always_eat:true,eat_seconds:1.6,nutrition:4,saturation:9.6}]

Expected Behavior:

Hunger and saturation levels should increase upon consumption.

 

Actual Result:

No change in hunger or saturation levels observed upon consumption.

 

renew:
Ominous Bottle and Milk Bucket are also affected

Won't Fix

beebee

2024-04-19, 01:45 PM

2024-05-12, 12:17 PM

2024-04-24, 07:16 AM

3

1

Community Consensus

(Unassigned)

1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2

-