Uses of Class
org.bukkit.FireworkEffect.Builder
| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
-
Uses of FireworkEffect.Builder in org.bukkit
Methods in org.bukkit that return FireworkEffect.Builder Modifier and Type Method Description static FireworkEffect.BuilderFireworkEffect. builder()Construct a firework effect.FireworkEffect.BuilderFireworkEffect.Builder. flicker(boolean flicker)Set whether the firework effect should flicker.FireworkEffect.BuilderFireworkEffect.Builder. trail(boolean trail)Set whether the firework effect should have a trail.FireworkEffect.BuilderFireworkEffect.Builder. with(FireworkEffect.Type type)Specify the type of the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withColor(java.lang.Iterable<?> colors)Add several primary colors to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withColor(Color color)Add a primary color to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withColor(Color... colors)Add several primary colors to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withFade(java.lang.Iterable<?> colors)Add several fade colors to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withFade(Color color)Add a fade color to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withFade(Color... colors)Add several fade colors to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withFlicker()Add a flicker to the firework effect.FireworkEffect.BuilderFireworkEffect.Builder. withTrail()Add a trail to the firework effect.