SmallFireball
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.SmallFireball;Extending Fireball
SmallFireball extends Fireball. That means all methods available in Fireball are also available in SmallFireball
Constructors
new SmallFireball(level as invalid, shooter as LivingEntity, xPower as double, yPower as double, zPower as double) as SmallFireballnew SmallFireball(level, shooter, 0, 1, 2);| Parameter | Type | Description | 
|---|---|---|
| Parameterlevel | Typeinvalid | DescriptionThe level this entity is in. | 
| Parametershooter | TypeLivingEntity | DescriptionThe entity that created the fireball, used to get the position. | 
| ParameterxPower | Typedouble | DescriptionThe x power of the entity. | 
| ParameteryPower | Typedouble | DescriptionThe y power of the entity. | 
| ParameterzPower | Typedouble | DescriptionThe z power of the entity. | 
new SmallFireball(level as invalid, x as double, y as double, z as double, xPower as double, yPower as double, zPower as double) as SmallFireballnew SmallFireball(level, 0, 1, 2, 3, 3, 3);| Parameter | Type | Description | 
|---|---|---|
| Parameterlevel | Typeinvalid | DescriptionThe level this entity is in. | 
| Parameterx | Typedouble | DescriptionThe x position of the entity. | 
| Parametery | Typedouble | DescriptionThe y position of the entity. | 
| Parameterz | Typedouble | DescriptionThe z position of the entity. | 
| ParameterxPower | Typedouble | DescriptionThe x power of the entity. | 
| ParameteryPower | Typedouble | DescriptionThe y power of the entity. | 
| ParameterzPower | Typedouble | DescriptionThe z power of the entity. |