LargeFireball
Link to largefireball
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 Copyimport crafttweaker.api.entity.type.projectile.LargeFireball;
Extending Fireball
Link to extending-fireball
LargeFireball extends Fireball. That means all methods available in Fireball are also available in LargeFireball
Constructors
Link to constructors
ZenScript Copynew LargeFireball(level as Level, shooter as LivingEntity, direction as Vec3, explosionPower as int) as LargeFireball
new LargeFireball(level, shooter, new Vec3(1, 2, 3), 1);
Parameter | Type | Description |
---|---|---|
Parameter level | Type Level | Description The level the entity is in. |
Parameter shooter | Type LivingEntity | Description The entity that created the fireball, used to get the position. |
Parameter direction | Type Vec3 | Description The direction that the skull is moving in |
Parameter explosionPower | Type int | Description The explosion power of this fireball |