Fireworks
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.Fireworks;
Implements
Undocumented Interfaces
TooltipProvider
Members
Getter
myFireworks.explosion
Return Type:
List<FireworkExplosion>
Getter
// Fireworks.flightDuration as intmyFireworks.flightDuration
Return Type:
int
static of(flightDuration as int, explosions as List<FireworkExplosion>) as Fireworks
Fireworks.of(myInt, myList);
Parameters:
flightDuration: int
Type: int
explosions: List<FireworkExplosion>
Type: List<FireworkExplosion>
Return Type:
Fireworks