Uses modern Minecraft item component syntax (1.20.5+). On older versions these need the legacy NBT tag format instead.

How to Use the Bundle Generator

  1. Pick a target selector (defaults to @p, the nearest player).
  2. Set an item ID and count for one or two entries.
  3. Copy the generated /give command.

Syntax Reference

A pre-filled bundle carries a bundle_contents item component – a flat list of {id, count} entries, unlike a container’s slot-numbered list:

/give @p minecraft:bundle[bundle_contents=[{id:"minecraft:diamond",count:5},{id:"minecraft:arrow",count:1}]]

There’s no slot number here because a bundle isn’t a grid inventory – items just sit in whatever order they’re listed, similar to how a real bundle packs items without fixed slots. The bundle’s own capacity limit (measured in bundle “weight” rather than a flat item count) still applies in-game even to a pre-filled bundle given this way, so overstuffing past what a player could normally fit isn’t guaranteed to display or behave correctly.

Frequently Asked Questions

How is a bundle’s capacity actually measured?

Not by a simple item count – each item type has its own “weight” toward the bundle’s total capacity (a full stack of one item type might weigh less per-slot than a single non-stackable item). Stackable items like ingots or blocks weigh comparatively little, while non-stackable items like tools or armor take up a much bigger share of the limit, so “how many items fit” varies heavily by what those items are.

Can a bundle hold another bundle inside it?

No – bundles specifically cannot be nested inside each other; this is a deliberate restriction to avoid infinite-storage exploits. Most other container-like items (shulker boxes, for example) have similar restrictions on being placed inside a bundle or another shulker box.

What happens if you right-click a bundle in your hotbar?

It dumps its entire contents in the order they were packed, or picks up a single stack of the item under your cursor if you’re hovering an inventory slot, mirroring normal bundle interaction rules for a bundle that already has items.

Do items inside a bundle keep their own components, like an enchanted item?

Yes – each entry in bundle_contents can include its own nested components object the same way a top-level /give item can, so an enchanted sword or a named item packed inside a bundle keeps all its properties. This generator’s simplified UI only sets plain item ID and count.

Related Tools