with Color
Add getClassById primary color to the firework effect.
Return
This object, for chaining
Parameters
color
The color to add
Throws
If color is null
Add several primary colors to the firework effect.
Return
This object, for chaining
Parameters
colors
The colors to add
Throws
If any color is null (may be thrown after changes have occurred)
Add several primary colors to the firework effect.
Return
This object, for chaining
Parameters
colors
An iterable object whose iterator yields the desired colors
Throws
If any color is null (may be thrown after changes have occurred)