Try the Commands Troubleshooting and Help page if you get stuff with server errors.
Decorated Pots
Create a command to give players a decorated pot with preset set sherd decoration. Set extra options for name, lore and more. When a decorated pot is broken it will also drop any pottery sherds and bricks used to craft it. It will also drop an item if it has one. The initial release had no command options for adding items. Item and loot table options were added soon after the initial release.
Sherds Command
The sherds command option is a mixed list of 4 sherds, and bricks. This sets the pattern along with the associated sherd and brick item drops.
/give @p decorated_pot[pot_decorations=[burn_pottery_sherd,heartbreak_pottery_sherd,brick,miner_pottery_sherd]] 1 /give @p decorated_pot{BlockEntityTag:{sherds:[burn_pottery_sherd,brick,shelter_pottery_sherd,prize_pottery_sherd]}} 1
Contains Item Command
The initial release had no command options for adding an item. The item can also include tag data and a count.
/give @p decorated_pot[container=[{item:{id:cake,count:1},slot:0}]] 1
Loot Table Command
The initial release had no command options for adding a loot table item. The loot table will select an item from the loot table.
/give @p decorated_pot[block_entity_data={id:decorated_pot,LootTable:"chests/buried_treasure"}] 1
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
patchAdded item_name to all for rich text
patchAdded armor trim bolt, missed that one somehow
patchSummon firework missing count 1 for 1.20.4 and earlier
patchSome consume tags should still be food tags
addedFlow template to armor trim generator
addedSuspicious Stew
addedBundles to container generator
patch1.21.4 signs
patch1.21.4 suspicious blocks
patchPredicates generation for, can destroy, can replace
Read version history »
(78 More Updates)