Pick the shape and the colours, watch the firework go off, and copy the /give command for the rocket or the /summon command that launches one where you stand.
The preview shows the shape and the colours. In the game the pieces are bigger and fall a little.
Colours
Fade to (optional)
Command
What each part does
Colours: each piece of the explosion takes one of them. With more than one colour the explosion is mixed.
Fade to: the pieces change to these colours before they go out.
Trail leaves a line behind each piece. Twinkle makes the pieces crackle and flash at the end.
Flight is how high the rocket goes before it explodes: 1 is the lowest, 3 the highest.
Good to know
The /summon command launches the rocket one block above the place where the command runs. In a command block that is right above the block.
The command changed in 1.20.5. Pick your version: with the wrong one, /give is refused and /summon does not launch your firework.
You need operator rights, or cheats turned on, to use /give and /summon.
A rocket with an explosion hurts mobs and players that are close when it goes off.
Something wrong or missing here? Tell me, requests decide what I add next. More tools: all tools.