Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

IEntityArrow

Importing the package

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;

Extending

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

Methods

ZenGetterZenSetterType
ZenGetter
shooter
ZenSetter
shooter
Type
IEntity
ZenGetter
damage
ZenSetter
damage
Type
double
ZenGetter
knockbackStrength
ZenSetter
knockbackStrength
Type
int
ZenGetter
isCritical
ZenSetter
isCritical
Type
boolean
ZenGetter
pickupStatus
ZenSetter
pickupStatus
Type
String
ZenGetter
shake
ZenSetter
Type
int

Additional methods

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

  • void setPickupDisallowed()

  • void setPickupAllowed()

  • void setPickupCreative()