SmallFireball
Link to smallfireball
Импорт класса
Link to импорт-класса
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.SmallFireball;
Extending Fireball
Link to extending-fireball
SmallFireball extends Fireball. That means all methods available in Fireball are also available in SmallFireball
Constructors
Link to constructors
ZenScript Copynew SmallFireball(level as invalid, shooter as LivingEntity, xPower as double, yPower as double, zPower as double) as SmallFireball
new SmallFireball(level, shooter, 0, 1, 2);
Параметр | Тип | Описание |
---|---|---|
Параметр level | Тип invalid | Описание The level this entity is in. |
Параметр shooter | Тип LivingEntity | Описание The entity that created the fireball, used to get the position. |
Параметр xPower | Тип double | Описание The x power of the entity. |
Параметр yPower | Тип double | Описание The y power of the entity. |
Параметр zPower | Тип double | Описание The z power of the entity. |
ZenScript Copynew SmallFireball(level as invalid, x as double, y as double, z as double, xPower as double, yPower as double, zPower as double) as SmallFireball
new SmallFireball(level, 0, 1, 2, 3, 3, 3);
Параметр | Тип | Описание |
---|---|---|
Параметр level | Тип invalid | Описание The level this entity is in. |
Параметр x | Тип double | Описание The x position of the entity. |
Параметр y | Тип double | Описание The y position of the entity. |
Параметр z | Тип double | Описание The z position of the entity. |
Параметр xPower | Тип double | Описание The x power of the entity. |
Параметр yPower | Тип double | Описание The y power of the entity. |
Параметр zPower | Тип double | Описание The z power of the entity. |