LargeFireball
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.
import crafttweaker.api.entity.type.projectile.LargeFireball;
Extending Fireball
LargeFireball extends Fireball. That means all methods available in Fireball are also available in LargeFireball
Constructors
new LargeFireball(level as Level, shooter as LivingEntity, xPower as double, yPower as double, zPower as double) as LargeFireballnew LargeFireball(level, shooter, 0, 1, 2);
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 xPower | Type double | Description The x power of the entity. |
Parameter yPower | Type double | Description The y power of the entity. |
Parameter zPower | Type double | Description The z power of the entity. |