Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 402 1
Give command syntax by version
Java 1.13+
/give @p minecraft:firework_star 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 402 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:firework_star 1
Same namespaced ID (namespace optional)
Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.
How to Get Firework Star
Finding Firework Star
Firework Star cannot be crafted at a crafting table. It must be obtained through normal gameplay.
Firework Star in Minecraft: Colors, Shapes, and Effects
Quick answer: Use minecraft:firework_star in Java Edition commands. Craft a firework star from gunpowder and dyes, add optional modifiers for shapes and effects, then combine it with paper and gunpowder to build rockets that burst with your custom design.
Crafting stars with the right effects
The base recipe is gunpowder plus up to eight dyes, which sets the explosion colors. Modifiers change the look: a fire charge makes a large ball, a gold nugget a star shape, a feather a burst, any mob head a creeper face, diamond adds a trail, and glowstone dust adds a twinkle.
One shape modifier and one each of trail and twinkle can combine in a single star, and you can add fade dyes by crafting the finished star with more dye. Layering colors is how show-quality fireworks are built.
Base: 1 gunpowder + up to 8 dyes.
Shapes: fire charge, gold nugget, feather, or any head.
Effects: diamond for trail, glowstone dust for flicker.
From star to rocket
Combine the star with paper and one to three gunpowder to make three rockets whose burst matches the star. More gunpowder extends the flight duration before the explosion, which matters for choreographed displays.
Remember the split-use rule: starred rockets are for displays and crossbow ammo, while plain starless rockets are for elytra boosting. A starred rocket used for boosting explodes in your face.
Firework Star Command Examples
Give 1 to nearest player: /give @p minecraft:firework_star 1
Give 1 to yourself: /give @s minecraft:firework_star 1
Give to a specific player: /give PlayerName minecraft:firework_star 1
Clear from inventory: /clear @p minecraft:firework_star
Firework Star FAQ
What is the item ID for Firework Star?
The item ID for Firework Star is minecraft:firework_star. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for Firework Star?
Firework Star has the historical numerical ID 402, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:firework_star instead.
How do I give myself Firework Star in Minecraft?
Open the chat window and run /give @p minecraft:firework_star 1 to give the nearest player one Firework Star. Replace @p with a player name to target someone else.
How many Firework Star can stack in one slot?
Firework Star stacks up to 64 per inventory slot.
How do you make a firework star?
Craft gunpowder with one or more dyes to set colors, then optionally add a shape item like a fire charge or gold nugget, plus diamond for a trail and glowstone dust for a twinkle. Combine the finished star with paper and gunpowder to get rockets.
What does a firework star do in a rocket?
It defines the explosion: colors, shape, and effects. A rocket crafted without a star produces no burst, which is exactly what you want for elytra travel, while starred rockets create the visual display or damaging crossbow shot.
How do you make a creeper-face firework?
Add any mob head to the firework star recipe along with gunpowder and dyes. The resulting rocket explodes in a giant creeper face pattern, one of the most popular shapes for displays.
Sources and Data Review
Item facts were reviewed for Java Edition 1.21.11 on .