Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
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.
|
Copyright © 2019. All rights reserved.