src/info/bytecraft/api/TargetBlock.java
public void reset()
    {
        targetPosDouble =
                new Vector(loc.getX(), loc.getY() + viewHeight, loc.getZ());
        targetPos =
                new Vector(targetPosDouble.getBlockX(),
                        targetPosDouble.getBlockY(),
                        targetPosDouble.getBlockZ());
        prevPos = targetPos.clone();
        this.curDistance = 0;
    }
/**
     * Call this to reset checking position to allow you to check for a new
     * target with the same TargetBlock instance.
     */
Call this to reset checking position to allow you to check for a new
target with the same TargetBlock instance.
Call this to reset checking position to allow you to check for a new target with the same TargetBlock instance .
public void reset()
    {
        targetPosDouble =
                new Vector(loc.getX(), loc.getY() + viewHeight, loc.getZ());
        targetPos =
                new Vector(targetPosDouble.getBlockX(),
                        targetPosDouble.getBlockY(),
                        targetPosDouble.getBlockZ());
        prevPos = targetPos.clone();
        this.curDistance = 0;
    }
public void reset ( ) { targetPosDouble = new Vector ( loc . getX ( ) , loc . getY ( ) + viewHeight , loc . getZ ( ) ) ; targetPos = new Vector ( targetPosDouble . getBlockX ( ) , targetPosDouble . getBlockY ( ) , targetPosDouble . getBlockZ ( ) ) ; prevPos = targetPos . clone ( ) ; this . curDistance = 0 ; }
Call this to reset checking position to allow you to check for a new
 target with the same TargetBlock instance.
Call this to reset checking position to allow you to check for a new target with the same TargetBlock instance .