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 ~ ~ ~ {LifeTime:0,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Colors:[I;14602026]}]}}}}
Adjust coordinates for explosion.
/summon firework_rocket ~2 ~5 ~2 {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,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
added1.20.5 support for Potions, Written Books
patchTargets not updating when updated
added1.20.5 support for Armor, Knowledge Books
patchItem search
addedGive generator migrated to version 2
addedBanner generator migrated to version 2
added1.20.5 predicates, sbt
Read version history »
(44 More Updates)