Uses of Class
org.bukkit.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 FireworkEffect.Builder
FireworkEffect. builder()
Construct a firework effect.FireworkEffect.Builder
FireworkEffect.Builder. flicker(boolean flicker)
Set whether the firework effect should flicker.FireworkEffect.Builder
FireworkEffect.Builder. trail(boolean trail)
Set whether the firework effect should have a trail.FireworkEffect.Builder
FireworkEffect.Builder. with(FireworkEffect.Type type)
Specify the type of the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withColor(Iterable<?> colors)
Add several primary colors to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withColor(Color color)
Add a primary color to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withColor(Color... colors)
Add several primary colors to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withFade(Iterable<?> colors)
Add several fade colors to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withFade(Color color)
Add a fade color to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withFade(Color... colors)
Add several fade colors to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withFlicker()
Add a flicker to the firework effect.FireworkEffect.Builder
FireworkEffect.Builder. withTrail()
Add a trail to the firework effect.