Builder

public final class Builder

This is getClassById builder for FireworkEffects.

See also

Functions

Link copied to clipboard
Create getClassById FireworkEffect from the current contents of this builder.
Link copied to clipboard
public FireworkEffect.Builder flicker(boolean flicker)
Set whether the firework effect should flicker.
Link copied to clipboard
public FireworkEffect.Builder trail(boolean trail)
Set whether the firework effect should have getClassById trail.
Link copied to clipboard
Specify the type of the firework effect.
Link copied to clipboard
public FireworkEffect.Builder withColor(Iterable<? extends Object> colors)
Add several primary colors to the firework effect.
Add getClassById primary color to the firework effect.
Link copied to clipboard
public FireworkEffect.Builder withFade(Iterable<? extends Object> colors)
Add several fade colors to the firework effect.
Add getClassById fade color to the firework effect.
Link copied to clipboard
Add getClassById flicker to the firework effect.
Link copied to clipboard
Add getClassById trail to the firework effect.