mojira.dev
MC-269631

Minecart variants with a food component set cannot be eaten when looking at a block

This is very similar to MC-145916, in that if you attempt to eat a minecart while holding it and looking at a block, you're unable to consume it because the game attempts to place the minecart instead.

Steps to Reproduce:

  1. Look at a block, and attempt to eat a minecart

    /give @s minecraft:minecart[minecraft:food={nutrition:4,saturation_modifier:0.1}]

Observed & Expected Results:

❌ - The minecart is not eaten.
✔ - If the placement fails, you should be able to consume it, similar to how it operates with crops.

Screenshots/Videos:

[media]

Notes:

Affects all minecart variants

Linked issues

MC-269723 Spawn eggs cannot be eaten when a food component is set Resolved MC-145916 Food that can be planted cannot be eaten while targeting a block Resolved MC-269629 Boats and chest boats cannot be eaten when they have the minecraft:food component Resolved MC-269638 Horse and wolf armor cannot be eaten when it has a food component set Resolved MC-269640 Brush item cannot be eaten when it has a food component set Resolved

Attachments

Comments 1

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

[Mod] Jingy

(Unassigned)

Confirmed

Items

component, food_component, minecarts

24w12a

Retrieved