Give a Prefilled Chest (Kit in a Box)
Get a chest that already contains a set of items. Run: /give @p chest[container=[{slot:0,item:{id:"minecraft:diamond_sword",count:1}},{slot:1,item:{id:"minecraft:cooked_beef",count:64}},{slot:2,item:{id:"minecraft:torch",count:64}}]] 1. Gives a chest item whose contents are already set via the container component — place it and the items are inside. Each entry needs a slot (0–26) and an item. Perfect for starter kits, map rewards, or shop stock. Edit the item list to build any kit you want. Works on Java Edition 26.2. Last verified June 2026.
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026/give @p chest[container=[{slot:0,item:{id:"minecraft:diamond_sword",count:1}},{slot:1,item:{id:"minecraft:cooked_beef",count:64}},{slot:2,item:{id:"minecraft:torch",count:64}}]] 1- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Paste the command (edit the slot/item list first if you want different contents).
- Press Enter and place the chest.
- Open it — the items are already inside.
Frequently asked questions
Does Give a Prefilled Chest (Kit in a Box) work on Bedrock Edition?
Bedrock /give can't set container contents. Place a chest, fill it by hand, then save it with a structure block instead.
Do you need OP or cheats enabled to use Give a Prefilled Chest (Kit in a Box)?
Yes — you need operator permissions (OP) on a server, or cheats enabled in your world settings (Java: open to LAN with cheats on; Bedrock: enable cheats in world settings).
Can Give a Prefilled Chest (Kit in a Box) be used in a command block?
Yes — paste the command into a command block and activate it with a button or redstone signal. Remove the leading slash when using a command block.
Who receives the item when you run Give a Prefilled Chest (Kit in a Box)?
The @p selector targets the nearest player (usually yourself in singleplayer). Replace @p with a specific player name to give the item to someone else.
How do I change the quantity given by Give a Prefilled Chest (Kit in a Box)?
Change the count number at the end of the command. The default is 1; the maximum stack size depends on the item.
Related commands
Full God Armor Set
Get all four netherite armor pieces with max protective enchants in one go
Give a Knowledge Book
Get the hidden knowledge book that teaches crafting recipes
Give a Jigsaw Block
Get the jigsaw block used for custom structure generation
Give a Written Book with Custom Text
Create a pre-written signed book via command
Give a Command Block
Get a command block (it isn't in the creative menu)
Give Elytra
Get a pair of elytra wings
Need something different?
Customize this command in the /give builder — choose your own options and copy the result.
Learn more
📖How to Enable Cheats in Minecraft
Step-by-step guide to enabling cheats in Minecraft Java 26.2 and Bedrock 26.32