3

Guide to generating Firework stars with Custom colors & Explosion types

kebe3's Avatar kebe38/20/19 11:01 am history
3 emeralds 6.7k 1
8/21/2019 8:02 am
HoboMaggot's Avatar HoboMaggot
I couldn't find any guides online on how to do this so I figured why not make one.
(This is not a guide on the firework rocket itself, but the firework star used to make the rocket.)


The following command is the default format with all the tags included:

/give @p minecraft:firework_star{Explosion:{Type:0b,Trail:0b,Colors:[I;15435844],FadeColors:[I;],Flicker:0b}}

This command will give you a Small Ball, default Orange dye color firework star.

Custom Color:

The number: 15435844 is a decimal number and can be replaced with any decimal number.

Here is a list of the default minecraft dye colors (in decimal) for firework stars:
███Red = 11743532
███Orange = 15435844
███Yellow = 14602026
███Lime = 4312372
███Green = 3887386
███Cyan = 2651799
███Light Blue = 6719955
███Blue = 2437522
███Purple = 8073150
███Magenta = 12801229
███Pink = 14188952
███Brown = 5320730
███Black = 1973019
███Gray = 4408131
███Light Gray = 11250603
███White = 15790320


You can use this site to view decimal/hexadecimal colors, convert hexadecimal -> decimal or decimal -> hexadecimal, or generate new colors:
https://www.mathsisfun.com/hexadecimal-decimal-colors.html


To add more than one color, insert a comma followed by another decimal number after the first number:
/give @p minecraft:firework_star{Explosion:{Type:0b,Trail:0b,Colors:[I;15435844,4312372],FadeColors:[I;],Flicker:0b}}

(to add more colors just repeat the pattern)

The above command will give an orange and lime firework star. Also, if you run the command, you will notice that the orange and lime colors are now mixed together, creating a new color on the firework star's texture.

Custom Fade Color:

By default the custom Fade Color is disabled, to enable it, insert a decimal number in the FadeColors tag, after the I; :

/give @p minecraft:firework_star{Explosion:{Colors:[I;15435844],FadeColors:[I;11743532]}}



Explosion Type:

To change the explosion type of the firework star you will have to change the number after Type: .

/give @p minecraft:firework_star{Explosion:{Type:0b,Colors:[I;15435844]}}


Here is a list of values that corresponds with each type
0b = Small Ball
1b = Large Ball
2b = Star-shaped
3b = Creeper-shaped
4b = Burst

Warning, Do not use 5b or higher on servers, it will prevent you from joining your world again. (To fix this, get another player/account with perms to put down an active repeating command block that has "clear NAME firework_star" in it and then rejoin on your account until you don't get kicked)


By default if you run the command without the Type tag, it will give you Small Ball type:
/give @p minecraft:firework_star{Explosion:{Colors:[I;15435844]}}


Adding a Trail & Twinkle:

By default the Trail and Twinkle (Flicker) effects are disabled, to enable them change their values from 0b (disabled) to 1b (enabled).

/give @p minecraft:firework_star{Explosion:{Type:0b,Trail:0b,Colors:[I;15435844],FadeColors:[I;],Flicker:0b}}

This will enable both a Trail and a Twinkle (Flicker):

/give @p minecraft:firework_star{Explosion:{Type:0b,Trail:1b,Colors:[I;15435844],FadeColors:[I;],Flicker:1b}}



Hiding the lores (HideFlags):

If you want to hide the Color name, or any of the explosion effects from the items lore, add HideFlags:32 to the end:
/give @p minecraft:firework_star{Explosion:{Type:0b,Trail:0b,Colors:[I;15435844],FadeColors:[I;],Flicker:0b},HideFlags:32}

Posted by kebe3's Avatar
kebe3
Level 2 : Apprentice Network
3

Create an account or sign in to comment.

1

2
08/21/2019 8:02 am
Level 52 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
This is also a good command generator that can give/summon custom fireworks for you: https://mcstacker.net/1.14.php

However it is good to view and learn from this guide first so you know how it works in the coding realm of mc, makes it easier to quickly change stuff, like the flicker.

Good guide
nice
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome