# Uses of Class
org.bukkit.FireworkEffect.Builder

Packages that use FireworkEffect.Builder
Package
Description
org.bukkit
The root package of the Bukkit API, contains generalized API classes.

## Uses of FireworkEffect.Builder in org.bukkit

Methods in org.bukkit that return FireworkEffect.Builder
Modifier and Type
Method
Description
`static @NotNull FireworkEffect.Builder`
FireworkEffect.`builder()`
Construct a firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`flicker(boolean flicker)`
Set whether the firework effect should flicker.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`trail(boolean trail)`
Set whether the firework effect should have a trail.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`with(@NotNull FireworkEffect.Type type)`
Specify the type of the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withColor(@NotNull Iterable<?> colors)`
Add several primary colors to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withColor(@NotNull Color color)`
Add a primary color to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withColor(@NotNull Color... colors)`
Add several primary colors to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withFade(@NotNull Iterable<?> colors)`
Add several fade colors to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withFade(@NotNull Color color)`
Add a fade color to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withFade(@NotNull Color... colors)`
Add several fade colors to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withFlicker()`
Add a flicker to the firework effect.
`@NotNull FireworkEffect.Builder`
FireworkEffect.Builder.`withTrail()`
Add a trail to the firework effect.