Method
FireworkEffect
(boolean flicker, boolean trail, @NotNull ImmutableList<Color> colors, @NotNull ImmutableList<Color> fadeColors, @NotNull Type type)
Source from the content-addressed store, hash-verified
| 306 | private String string = null; |
| 307 | |
| 308 | FireworkEffect(boolean flicker, boolean trail, @NotNull ImmutableList<Color> colors, @NotNull ImmutableList<Color> fadeColors, @NotNull Type type) { |
| 309 | if (colors.isEmpty()) { |
| 310 | throw new IllegalStateException("Cannot make FireworkEffect without any color"); |
| 311 | } |
| 312 | this.flicker = flicker; |
| 313 | this.trail = trail; |
| 314 | this.colors = colors; |
| 315 | this.fadeColors = fadeColors; |
| 316 | this.type = type; |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * Get whether the firework effect flickers. |
Callers
nothing calls this directly
Tested by
no test coverage detected