Импорт пакета

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.
import crafttweaker.entity.IEntityArrow;

IEntityArrow implement the following interfaces and are able to call all of their methods/getters/setters as well:

ZenGetterZenSetterТип
ZenGetter
shooter
ZenSetter
shooter
Тип
IEntity
ZenGetter
damage
ZenSetter
damage
Тип
double
ZenGetter
knockbackStrength
ZenSetter
knockbackStrength
Тип
int
ZenGetter
isCritical
ZenSetter
isCritical
Тип
boolean
ZenGetter
pickupStatus
ZenSetter
pickupStatus
Тип
String
ZenGetter
shake
ZenSetter
Тип
int

Additional methods

Link to additional-methods

  • void shoot(IEntity shooter, float pitch, float yaw, float roll, float velocity, float inaccuracy)

  • void setPickupDisallowed()

  • void setPickupAllowed()

  • void setPickupCreative()