arrowSearch = player.getEntitiesWithinRange(2); vec = player.getLookVec();
for (var ii = 0; ii < arrowSearch.length; ii++) 
{var entA = arrowSearch[ii]; if (entA.getClassType() == "Arrow") 
{entA.setVelocity(vec.x*2, vec.y*2, vec.z*2);}}