-
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.
- relates to
-
MC-279635 Item entities with "container" component inconsistently drop items when destroyed
- Open