Try the Commands Troubleshooting and Help page if you get stuff with server errors.
Minecraft Give or Summon Firework Rocket Generator
Create a custom firework rocket, give firework rock generator and summon custom firework rocket, select color and explosion shape.
Flight Duration
How long the firework rocket will fly for, mainly used for give command. Based on the amount of gunpowder used in crafting the rocket. Usualy range is from -128 to 127.
Summon, instant explosion
Sets the time in for how long until firework explodes, set to 0 for instant explosion.
/summon firework_rocket ~ ~1 ~ {LifeTime:0,FireworksItem:{id:firework_rocket,count:1,components:{fireworks:{explosions:[{shape:small_ball,colors:[I;14602026]}]}}}} /summon firework_rocket ~ ~1 ~ {LifeTime:0,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Colors:[I;14602026]}]}}}}
Summon, LifeTime and Motion
Set LifeTime to longer and add Motion to direct the rocket. Motion increases direction quickly, small numbers and decimals work well.
/summon firework_rocket ~ ~1 ~ {LifeTime:10,shotAtAngle:1b,Motion:[2d,0d,0d],FireworksItem:{id:firework_rocket,count:1,components:{fireworks:{explosions:[{has_trail:1b,shape:small_ball,colors:[I;11546150]},{shape:burst,has_trail:1b,colors:[I;8439583]}]}}}} /summon firework_rocket ~ ~1 ~ {LifeTime:10,Motion:[2d,0d,0d],FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Trail:1b,Colors:[I;11546150]},{Type:4,Trail:1b,Colors:[I;8439583]}]}}}}
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
patchgive 1.21.4 equipment model field has been renamed to asset_id
patchforce paste in rich text editor, maybe
patchwritten book page import click and hover events not rimporting
patch1.21.5+ text and lore empty array json
patchgive, can place and can break rules to use blocks for the search list
patchgive, updated 1.21.5+ hide additional tooltip
patch1.21.5 give command attribute modifiers ids require quotes
addedparticle generator pale_oak_leaves, tinted_leaves
added1.21.5 items
patchrich text had issues with quotes and backslashes
patch1.21.5 written books on click got to page
addedInitial snapshot for 1.21.5
Read version history »
(82 More Updates)