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
类型
布尔值
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()