Bow draw duration. Crossbows use their item-specific charge duration.
Zero selects the server default.
Zero fires until the target is defeated.
Zero selects the server default.
Optionaloptions?: PathfindOptionsOptionaltarget?: EntityReferenceZero selects the server default.
Optionalweapon?: ItemSelectorRestricts automatic bow or crossbow selection.
Maintains ranged spacing, leads the target, compensates for projectile gravity, and fires a bow or crossbow.