Data component format/firework explosion

Minecraft Wiki article. Categories: Top-level_data_pages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Data component format/firework explosion on the Minecraft Wiki. Mirrored from revision 2948332. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

    • [NBT Compound / JSON Object] minecraft:firework_explosion: The explosion effect stored by this firework star.
      • [String] shape: The shape of the explosion. Can be small_ball, large_ball, star, creeper, or burst.
      • [NBT List / JSON Array] colors: The colors of the initial particles of the explosion, randomly selected from.
        • [Int] A color as a packed integer
      • [NBT List / JSON Array] fade_colors: The colors of the fading particles of the explosion, randomly selected from.
        • [Int] A color as a packed integer
      • [Boolean] has_trail: Whether or not the explosion has a trail effect (diamond).
      • [Boolean] has_twinkle: Whether or not the explosion has a twinkle effect (glowstone dust).

Sources