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

Bundles treat invalid items as valid items, causing them to display an empty slot when an invalid item ID is used to create the bundle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 20w48a, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      Commands
    • Mojang Priority:
      Low

      Description

      The bug

      When creating a bundle using commands and entering an invalid item ID as one of the items, an empty slot is displayed (in addition to the + slot that is always shown when more space is available within a bundle). This is caused by bundles treating invalid items as valid items.

      When right clicking this bundle in the inventory, the empty slot is removed. When right clicking this bundle outside of the inventory, a hand animation plays, and the empty slot is removed.

      A screenshot can be found below.

      How to reproduce

      Run the command:

      /give @s minecraft:bundle{Items:[{id:"minecraft:glass",Count:1},{id:"minecraft:mojira",Count:1}]} 

      Screenshot

      This screenshot was taken in snapshot 20w48a. Due to some recent changes to bundles, this may not be relevant anymore. I'm planning on getting a new screenshot tomorrow.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            markderickson [Helper] Mark Derickson
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: