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

Item entities with "bundle_contents" component don't drop items if not a bundle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.4, 25w03a
    • None
    • Confirmed
    • (Unassigned)

      Item entities with "bundle_contents" component only drop items when destroyed if they are a bundle, this is inconsistent with the "container" component which will drop it's items in most cases.

       

      To Confirm
      /give @s bundle[minecraft:bundle_contents=[{count:1, id:"minecraft:diamond"}]]

      Throw item on the ground.

      /data modify entity @n[type=item] Fire set value 500  

      The above command should set the item on fire.

      Notice it drops the Diamond when the bundle is destroyed.

      /give @s stick[minecraft:bundle_contents=[{count:1, id:"minecraft:diamond"}]] 

      Throw item on the ground.

      /data modify entity @n[type=item] Fire set value 500  

      The above command should set the item on fire.

      Notice how nothing is dropped when the item is destroyed.

       

       

            Unassigned Unassigned
            catiosis catiosis
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: