Minecraft Firework Generator
Configure colors, shape, fade, trail, twinkle, and flight to obtain commands and a validated recipe.
Vanilla recipe
This configuration is craftable.
1. Star
gunpowder
red dye2. Final rocket
paper
gunpowder
firework star
/give command
/give @s minecraft:firework_rocket[minecraft:fireworks={flight_duration:1,explosions:[{shape:'small_ball',colors:[11743532]}]}] 1/summon command
/summon minecraft:firework_rocket ~ ~1 ~ {FireworksItem:{id:'minecraft:firework_rocket',count:1,components:{'minecraft:fireworks':{flight_duration:1,explosions:[{shape:'small_ball',colors:[11743532]}]}}}}Spigot code
FireworkMeta meta = firework.getFireworkMeta(); FireworkEffect.Builder effect = FireworkEffect.builder().with(FireworkEffect.Type.BALL).withColor(Color.fromRGB(11743532)).trail(false).flicker(false); meta.addEffect(effect.build()); meta.setPower(1); firework.setFireworkMeta(meta);
How to create the rocket
- 1Choose shape, primary colors, and fade colors.
- 2Configure trail, twinkle, and flight duration.
- 3Select a version and copy the compatible command.
Recipes and versions
- Each star supports one to six primary colors.
- Modifiers consume real crafting-grid slots.
- Modern output uses data components while legacy uses NBT.
Firework questions
Why can a configuration be uncraftable?
A crafting grid has nine slots, and colors, shape, trail, and twinkle compete for those slots.
Does one command work in every version?
There is no single syntax. The selector separates modern data components from legacy NBT.