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

Opening or updating the creative inventory while holding a food item with the using_converts_to tag causes the item to animate up and down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w34a
    • 1.21, 1.21.1
    • None
    • Confirmed
    • Creative
    • Items
    • Low
    • Platform

      If the player is holding a food item with a custom using_converts_to tag inside its food component and they open their creative inventory or click on any item in it, the food item moves up and down on the screen.

      How to reproduce:

      1. Run the following command:
        /give @s minecraft:cooked_beef[minecraft:food={nutrition:8,saturation:12.8,using_converts_to:{id:"minecraft:stick"}}]
      2. Switch to creative mode.
      3. Open your inventory.
        The food item animates.
      4. Click on another item in your inventory.
        The food item animates again.

      Expected result:

      The item would not animate randomly.

      Observed result:

      The item moves up and down when the inventory is opened or updated.

        1. MC-273632.mp4
          2.17 MB
          [Mod] ManosSef

            Unassigned Unassigned
            ManosSef [Mod] ManosSef
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: