Minecraft : Barrels, Chests, Shulkerbox Give Command Generator

Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

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.

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.

Version History

28 Nov 2024
minecraft/command-generator 2.18.4

added1.21.4 items and blocks
patch1.21.4 cache issues

28 Nov 2024
minecraft/command-generator 2.18.3

added1.21.4 items and blocks

14 Nov 2024
minecraft/command-generator 2.18.2

addedMore 1.21.2 tags, including equippable, death_protection

7 Nov 2024
minecraft/command-generator 2.18.1

addedFood consumable for 1.21.2 with effects

31 Oct 2024
minecraft/command-generator 2.18

addedDecorated Pots
addedUpdated food to consumable for 1.21.2, still has some issues with effects
addedUpdated attribute names for 1.21.2


Read version history »
(72 More Updates)