public BlockSwapper(World world,EntityPlayer player,ItemStack truncator,BlockPos origCoords,int range,boolean leaves){
  this.world=world;
  this.player=player;
  this.truncator=truncator;
  this.origin=origCoords;
  this.range=range;
  this.treatLeavesSpecial=leaves;
  this.candidateQueue=new PriorityQueue<>();
  this.completedCoords=new HashSet<>();
  candidateQueue.offer(new SwapCandidate(this.origin,this.range));
}

public BlockSwapper ( World world , EntityPlayer player , ItemStack truncator , BlockPos origCoords , int range , boolean leaves ) { this . world = world ; this . player = player ; this . truncator = truncator ; this . origin = origCoords ; this . range = range ; this . treatLeavesSpecial = leaves ; this . candidateQueue = new PriorityQueue < > ( ) ; this . completedCoords = new HashSet < > ( ) ; candidateQueue . offer ( new SwapCandidate ( this . origin , this . range ) ) ; }
creates a new block swapper with the provided parameters .
