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.21 items
addedSome 1.20.5 particle support
patch1.20.5 Container item component nbt
patchText/Lore importing
added1.20.5 finished adding summon potion, firework, item, falling block, and block display support
patch1.20.5 fixed sweeping which had been renamed to sweeping_edge
added1.20.5 import for banners, enchanted books, fireworks, goat horns, knowledge books, player heads, potions, signs, and written books
added1.20.5 import for base command, and armor
added1.20.5 support for banners and premade banners
patch1.20.5 potion Ambient, Particles, Icon
added1.20.5 support for summon item
added1.20.5 support for signs
patchplayer head texture urls not working
added1.20.5 support for Enchanted Books, Fireworks, Player Heads
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)