Player.dat format/Fireworks

From Minecraft Wiki
Jump to: navigation, search
    •  Explosion: One of these may appear on a firework star.
      •  Flicker: 1 or 0 (true/false) - true if this explosion has the Twinkle effect (glowstone dust). May be absent.
      •  Trail: 1 or 0 (true/false) - true if this explosion has the Trail effect (diamond). May be absent.
      •  Type: The shape of this firework's explosion. 0 = Small Ball, 1 = Large Ball, 2 = Star-shaped, 3 = Creeper-shaped, 4 = Burst. Other values are named "Unknown Shape" and render as Small Ball.
      •  Colors: Array of integer values corresponding to the primary colors of this firework's explosion. If custom color codes are used, the game renders it as "Custom" in the tooltip, but the proper color is used in the explosion. Custom colors are integers in the same format as the color tag from Display Properties.
      •  FadeColors: Array of integer values corresponding to the fading colors of this firework's explosion. Same handling of custom colors as Colors. May be absent.
    •  Fireworks: One of these may appear on a firework rocket.
      •  Flight: Indicates the flight duration of the firework (equals the amount of gunpowder used in crafting the rocket). Can be anything from -128 to 127.
      •  Explosions: List of compounds representing each explosion this firework causes.
        • Same format as 'Explosion' compound on a firework star, as described above.