Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-275807

Usable items cannot be made to be consumable through component data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.1, 24w34a
    • None
    • Windows 11
    • Unconfirmed
    • (Unassigned)

      All usable items, such as boats, bows, and (non-milk) buckets cannot be made to be consumable through component data.

      Steps to reproduce:

      1. Create an item with component data that should allow it to be consumed, such as with this command:

      /give @s bow[consumable={},food={nutrition:1,saturation:1,can_always_eat:true}] 

      2. Attempt to consume the item by holding the Use key while not being able to perform the normal Use action of the item (such as not having any ammunition to fire with a bow)
      Expected result:
      The item would be consumed.
      Actual result:
      The item is not consumed.

            Unassigned Unassigned
            Sightnado Sightnado
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: