== Usage ==
<!-- The tooltip does not reflect the current bundle "tooltip" -->{{FakeImage|{{Slot|Stick,64}}{{Slot|Ender Pearl,16}}{{Slot|Iron Sword}}<br>{{Slot|Stick,1}}{{Slot|Ender Pearl,4}}{{Slot|Iron Sword,64}}<br>{{Slot|Filled Bundle[Stick x32/Ender Pearl x8]| title = Bundle|link=none}}|2=Item stack sizes (top row) and the number of bundle slots they take up (middle row). Sticks stack to 64, so they take up one bundle slot; ender pearls stack to 16, so they take up four; and swords do not stack, so they take up the whole bundle. So, for instance, a bundle may have 32 sticks and 8 ender pearls inside, which take up a total of {{Tooltip|(32&times;1)|32 Sticks}}+{{Tooltip|(8&times;4)|8 Ender Pearls}}=64 bundle slots.|style=max-width:250px;}}Bundles are used to store different [[item]] types in the same [[inventory]] slot. This does not, however, increase the total capacity of the slot, as bundles can only store what adds up to a single slot. Items that can normally stack up to 64 take up 1/64 of a bundle, items that can normally stack up to 16 (eg. [[egg]]s) take up 1/16 of a bundle, and items that can't stack take up the entirety of a bundle (with exception to bundles themselves). On {{Edition|Java}}, space that an item takes up in a bundle is equal to the reciprocal of its [[Data component format#max stack size|max_stack_size component]], even if it is different from the standard 1, 16, and 64.

Bundles are not stackable, but they are able to be placed (nested) inside another<ref>{{bug|MC-203567||Bundles can be placed inside of bundles|WAI}}</ref>, and will always take up 1/16 of the space of a bundle, regardless of their max_stack_size component, plus the space occupied by the inner bundle's contents.

[[Shulker box]]es cannot be placed inside of bundles. However, bundles '''can''' be placed inside of shulker boxes.

=== Inserting and retrieving ===
Items are inserted into bundles by left-clicking, and retrieved by right-clicking.

To place items inside a bundle, either (1) pick up the bundle in the inventory and left-click on the item(s) to be placed inside or (2) pick up the item(s) and left-click on the bundle. When placing a bundle inside another bundle, the interface uses the first method: picking up bundle A and right clicking on bundle B attempts to store bundle B inside A.

Items can be retrieved from bundles in one of five ways:

* Right-clicking on bundles in an inventory, without holding anything with the cursor, will cause the cursor to hold the item from the most recently added slot of the bundle.
* Scrolling on bundles in an inventory allows for scrolling through the bundle's slots, which starts off as the most recently added slot, and is displayed with a bright underlay behind that slot. During this process, the bundle's icon will appear open, and the selected slot's item icon will appear within the bundle's icon, though this is not shown in the player's hand. If the bundle is right-clicked while in this state, the currently selected item will move to the cursor and the bundle will close. If the cursor is moved off the bundle while it's still open, the bundle will close.
* Right-clicking on bundles in an inventory while they are held in the cursor and are hovering over an empty slot where can be placed will cause that item to be placed in that slot.
* {{Ctrl|Using}} a bundle while it is selected in the hotbar will cause the contents of the most recently added slot to be thrown out in the direction the player is facing.
* When a bundle [[item (entity)|item entity]] is destroyed, the contents of the bundle are dropped as items, similar to when a shulker box is destroyed.

=== GUI ===
[[File:Bundle usage.png|thumb|Hovering over a quarter-full bundle with 16 items.]]
Hovering over a bundle reveals its blue fullness bar. When the bundle is empty, the fullness bar says "Empty" and shows the description, "Can hold a mixed stack of items". If it's completely full, the fullness bar turns red and says "Full". When there is at least one item in a bundle, space will open up above the bar, which displays the items in the bundle's slots, sorted by how recently they were added, from right to left. The space where the slots are shown is only wide enough for four slots, so additional space opens up for new rows. When there are more than three rows, only the top three will be displayed, and the bottom-right slot will be replaced by text that says, +<number of slots hidden>, where the slot replaced by the text counts toward that number.

Bundles show an additional fullness bar on their icons, in a similar way to how items that take damage show their durability. Bundle fullness bars are blue, or red when full, and appear when the bundle contains at least one item.
