mojira.dev
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

Linked issues

Attachments

Comments 2

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

Bee

(Unassigned)

Community Consensus

(Unassigned)

1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2

Retrieved