Mojira Archive
MC-269629

Boats and chest boats cannot be eaten when they have the minecraft:food component

Boats and chest boats cannot be eaten when they have a food component set.

Steps to Reproduce:

  1. Get the following item:
    /give @s minecraft:oak_boat[minecraft:food={nutrition:4,saturation_modifier:0.1}]
    /give @s minecraft:oak_chest_boat[minecraft:food={nutrition:4,saturation_modifier:0.1}]
    
  2. Try and eat it

Observed & Expected Results:

- The boat(s) cannot be eaten when the player is not looking directly at a block which is applicable for placement.
- The boat(s) would be edible because their primary function (being placed/summoned) is not possible.

Notes:

  1. This issue is similar to MC-145916, in that the game tries to place the boats above all else, and when that function cannot be fulfilled, nothing happens at all.
  2. Armor stands-- which are similar to boats in that they are summoned via item form into the world, can be eaten as expected.

Won't Fix

[Mod] Jiingy

Paintings are invisible

2024-03-20, 04:10 PM

2024-08-22, 05:53 AM

2024-03-22, 08:13 AM

0

2

Confirmed

Items

boat, chest_boat, component, food_component

24w12a

-