FireworkExplosionShape

Link to fireworkexplosionshape

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.item.component.FireworkExplosionShape;

Implemented Interfaces

Link to implemented-interfaces

FireworkExplosionShape implements the following interfaces. That means all methods defined in these interfaces are also available in FireworkExplosionShape

FireworkExplosionShape is an enum. It has 5 enum constants. They are accessible using the code below.

ZenScript
Copy
<constant:minecraft:firework_explosion/shape:small_ball>
<constant:minecraft:firework_explosion/shape:large_ball>
<constant:minecraft:firework_explosion/shape:star>
<constant:minecraft:firework_explosion/shape:creeper>
<constant:minecraft:firework_explosion/shape:burst>
NameTypeHas GetterHas Setter
Name
id
Type
int
Has Getter
true
Has Setter
false
Name
name
Type
MutableComponent
Has Getter
true
Has Setter
false