MCPcopy Create free account
hub / github.com/Teneted/Tenet / FireworkEffect

Method FireworkEffect

src/main/java/org/bukkit/FireworkEffect.java:308–317  ·  view source on GitHub ↗
(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

Calls 1

isEmptyMethod · 0.65

Tested by

no test coverage detected