Minecraft : Barrels, Chests, Shulkerbox Give Command Generator for Java 26.3
Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.
Minecraft Prefilled Containers Generator
A prefilled chest generator that sets the contents for chests, shulker boxes, barrels, hoppers and more. Give a full shulker box or setblock a chest with items.
Shulker Boxes: Can be given and also use setblock. Custom name works for the set block version.
Bundles: Slot isn't part of the command and is removed in the final output. It can be useful whilst creating the command to sort items.
Chests: And other non-shulker box containers can only used with setblock and not given with preset item contents.
Contents: Chests, shulkers boxes, hoppers, dispensers (and the reset) can have preset items in their inventory. Choose contents items to preset inventory, loot items require a special lootable in json format.
Lock: Used for adventure mode. When the lock tag is set it prevents the container from being opened unless the opener is holding an item whose name matches this string.
LootTable and LootTableSeed: Loot tables follow the json format. They are used on setblock and to be used to fill the chest when it is next opened. The optional LootTableSeed can be used to have results work out similar to how world seeds.
Minecarts: Unfortunately chest minecarts and hopper minecarts don't seem to work with setblock in Minecraft.
Minecraft Versions Permalinks
If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.
- Latest
- 26.3
- 26.2
- 26.1
- 1.21.11
- 1.21.9
- 1.21.8
- 1.21.5
- 1.21.4
- 1.21.2
- 1.21
- 1.20.5
- 1.20.2
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
Version History
added26.3 content
addedMore predicates
addedPreloading 26.3 items and content
addedSummon options for interaction, marker, ominous_item_spawner
patchGive generator patch can_break, can_place
addedSummon item_display and text_display
patchSummon issue with fireworks and potions
patchSummon issue with summon eggs (again)
addedend_crystal nbt tags
patchdamage_resistant for multi values in 26.1
patchbee nbt tags
patchmotion and rotation nbt tags
patchvarious uuid and nbt pathing issues
patchsummon blocks fixes and improvements
patchsome autocomplete quirky issues during typing
addedUUID converter
patchFix for issue with items not re-encoding correctly for items, trades and containers
patchTrades for 1.20.4 and earlier now auto add Count if missing
Read version history »
(131 More Updates)