Minecraft : Barrels, Chests, Shulkerbox Give Command Generator for 1.16 java

Update 2.15.19, you may need to clear cache for updated files.
Minecraft 1.20.5 has changed syntax on many commands, so most commands will no longer work without an update. An update is in progress, you can check compatibility progress here.
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

24 Jul 2024
minecraft/command-generator 2.15.19

addedUpdated page content command with version toggle

19 Jul 2024
minecraft/command-generator 2.15.19

added1.21 particles
patch1.21 particles syntax issues on particles with extra options
patchCommand save to storage issues

12 Jul 2024
minecraft/command-generator 2.15.18

addedAllow attributes ids to be set for 1.21, name for before 1.21

10 Jul 2024
minecraft/command-generator 2.15.17

addedNew attributes and removed uuid for 1.21
patch1.20.5+ give summon item name and lore
patch1.20.5+ tag to custom_data
patchCaching changes for icons

4 Jul 2024
minecraft/command-generator 2.15.16

addedCache busting for updates

3 Jul 2024
minecraft/command-generator 2.15.15

addedGive fake enchantment, potential fix

3 Jul 2024
minecraft/command-generator 2.15.14

patchAttributes not importing correctly

28 Jun 2024
minecraft/command-generator 2.15.13

patchIn some cases the enchantment tab disappears

26 Jun 2024
minecraft/command-generator 2.15.12

added1.21 is now default
patch1.21 attributes name changed to id.
patchText editor single quote and escape character handling

6 Jun 2024
minecraft/command-generator 2.15.11

added1.21 items
addedSome 1.20.5 particle support
patch1.20.5 Container item component nbt

30 May 2024
minecraft/command-generator 2.15.10

patchText/Lore importing

23 May 2024
minecraft/command-generator 2.15.9

added1.20.5 finished adding summon potion, firework, item, falling block, and block display support

16 May 2024
minecraft/command-generator 2.15.8

patch1.20.5 fixed sweeping which had been renamed to sweeping_edge

17 May 2024
minecraft/command-generator 2.15.7

added1.20.5 import for banners, enchanted books, fireworks, goat horns, knowledge books, player heads, potions, signs, and written books

16 May 2024
minecraft/command-generator 2.15.6

added1.20.5 import for base command, and armor

9 May 2024
minecraft/command-generator 2.15.5

added1.20.5 support for banners and premade banners
patch1.20.5 potion Ambient, Particles, Icon

2 May 2024
minecraft/command-generator 2.15.4

added1.20.5 support for summon item
added1.20.5 support for signs
patchplayer head texture urls not working

29 Apr 2024
minecraft/command-generator 2.15.3

added1.20.5 support for Enchanted Books, Fireworks, Player Heads

23 Apr 2024
minecraft/command-generator 2.15.2

added1.20.5 support for Potions, Written Books
patchTargets not updating when updated

18 Apr 2024
minecraft/command-generator 2.15.1

added1.20.5 support for Armor, Knowledge Books
patchItem search

18 Apr 2024
minecraft/command-generator 2.15

addedGive generator migrated to version 2
addedBanner generator migrated to version 2
added1.20.5 predicates, sbt


Read version history »
(44 More Updates)