FireworkExplosion
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.component.FireworkExplosion;
Implements
Undocumented Interfaces
TooltipProvider
Members
Getter
// FireworkExplosion.colors as List<Integer>myFireworkExplosion.colors
Return Type:
List<Integer>
Getter
// FireworkExplosion.fadeColors as List<Integer>myFireworkExplosion.fadeColors
Return Type:
List<Integer>
Getter
// FireworkExplosion.hasTrail as boolmyFireworkExplosion.hasTrail
Return Type:
bool
Getter
// FireworkExplosion.hasTwinkle as boolmyFireworkExplosion.hasTwinkle
Return Type:
bool
static of(shape as Shape, colors as List<Integer>, fadeColors as List<Integer>, hasTrail as bool, hasTwinkle as bool) as FireworkExplosion
// FireworkExplosion.of(shape as FireworkExplosionShape, colors as List<Integer>, fadeColors as List<Integer>, hasTrail as bool, hasTwinkle as bool) as FireworkExplosion;FireworkExplosion.of(myShape, myList, myList, myBool, myBool);
Parameters:
shape: FireworkExplosionShape
Type: FireworkExplosionShape
colors: List<Integer>
Type: List<Integer>
fadeColors: List<Integer>
Type: List<Integer>
hasTrail: bool
Type: bool
hasTwinkle: bool
Type: bool
Return Type:
FireworkExplosion
Getter
// FireworkExplosion.shape as FireworkExplosionShapemyFireworkExplosion.shape
Return Type:
FireworkExplosionShape
withFadeColors(colors as List<Integer>) as FireworkExplosion
myFireworkExplosion.withFadeColors(myList);
Parameters:
colors: List<Integer>
Type: List<Integer>
Return Type:
FireworkExplosion