if (arrowCritical) {
j1 += rand.nextInt(j1 / 2 + 2);
}
DamageSource damagesource = null;
if (shootingEntity == null)
damagesource = DamageSource.causeArrowDamage(new EntityArrow(worldObj), this);
else
damagesource = DamageSource.causeArrowDamage(new EntityArrow(worldObj),
shootingEntity);
if (movingobjectposition.entityHit.attackEntityFrom(damagesource, j1)) {
if (movingobjectposition.entityHit instanceof EntityLiving) {
((EntityLiving) movingobjectposition.entityHit).arrowHitTempCounter++;
this.collided = ((EntityLiving) movingobjectposition.entityHit);